This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Where is /bin/nologin
Greetings, Corinna Vinschen!
> Or what about creating your own /sbin/nologin, something like this:
> $ cat > /sbin/nologin <<EOF
> #!/bin/sh
> if [ -f /etc/nologin.txt ]
> then
> cat /etc/nologin.txt
> else
> echo "This account is currently not available."
> fi
> exit 0
> EOF
> $ chmod +x /sbin/nologin
I would advice against giving any clues about account status, for security
reasons.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 14.10.2011, <14:03>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple