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 (anrdae...@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

Reply via email to