Where is /bin/nologin

Andrey Repin anrdaemon@freemail.ru
Fri Oct 14 10:05:00 GMT 2011


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



More information about the Cygwin mailing list