GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NOLOGINMSG(8) FreeBSD System Manager's Manual NOLOGINMSG(8)

nologinmsg
politely refuse a login

nologinmsg

Nologinmsg displays a message that an account is not availavle and exits non-zero. It is intended as a replacement shell field for accounts that have been disabled. It can also print per-user messages, or special messages, depending on how it is called, or whether it can find a better message to print.
To create a per-user message, put the text of the message in /usr/local/etc/nologinmsgs/USER file. Its contents will be printed if the user names USER logs in.
To create a message that can be used for a group of users, create a symbolic link to a new name for the binary, and use that name. In the /usr/local/etc/nologinmsgs/ directory, place a text file of the same name, with the text you want printed when a user with this shell name logs in.
If the program name is not nologinmsg, then that file name is checked, and printed if that exists. If it does not, then the standard error is printed. If the program name is nologinmsg, and a user named file exists then that file is printed if possible, if not, the standard error message exists. In all other cases, the standard message is printed.
To disable all logins, investigage nologin(5).

login(1) nologin(5) nologin(8)

The nologinmsg command was written by Richard Rose and contributed to the FreeBSD Project This man page needs looking at and checking.
July 8, 2002 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.