Greetings, Corinna Vinschen!
>> I would advice against giving any clues about account status, for security
>> reasons.
> It's what Linux' /sbin/nologin' prints, too. Actually it's the whole
> idea of /sbin/nologin' per the man page:
Right you are. However, I haven't seen /bin/nologin used on an
On Oct 15 01:24, gwodus wrote:
> Nice script! Would be cool if it would be part of cygwin. Btw. was the
> /etc/nologin.txt your addition? I think the original nologin doesn't even do
> that. At least not on Debian, where I just checked.
It does on Fedora.
Corinna
--
Corinna Vinschen
fact I checked on my Linux box. I see that most
"no-shell" users have /bin/false in /etc/passwd (like ftp or mysql). But
others have nologin (e.g. user sshd on my machine).
Thanks,
gwodus.
--
View this message in context:
http://old.nabble.com/Where-is--bin-nologin-tp32647652
On Oct 14 14:04, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>
> > Or what about creating your own /sbin/nologin, something like this:
>
> > $ cat > /sbin/nologin < > #!/bin/sh
> > if [ -f /etc/nologin.txt ]
> > then
> > cat /etc/nologin.txt
> > else
> > echo "This accoun
Greetings, Corinna Vinschen!
> Or what about creating your own /sbin/nologin, something like this:
> $ cat > /sbin/nologin < #!/bin/sh
> if [ -f /etc/nologin.txt ]
> then
> cat /etc/nologin.txt
> else
> echo "This account is currently not available."
> fi
> exit 0
> EOF
>
On Oct 13 15:44, gwodus wrote:
>
>
> Dawud Medina wrote:
> >
> > Does /bin/false serve that purpose?
> >
> > --
> > Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299
> > EC56
> >
>
> Of course!!! Thanks a lot. That's what I was looking for. Thanks.
Or what about creati
Dawud Medina wrote:
>
> Does /bin/false serve that purpose?
>
> --
> Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299
> EC56
>
Of course!!! Thanks a lot. That's what I was looking for. Thanks.
--
View this message in context:
http://ol
On Thu, Oct 13, 2011 at 11:37:19AM -0700, gwodus wrote:
>
> I am missing /bin/nologin.
>
> I need to disable shell access for a user. But it still needs to be able to
> accept ssh connects for tunnel only for that user (ssh -N ...).
>
> On Linux I would set the login shell in /etc/passed to /
rtain cygwin package I need to install?
Thanks in advance,
gwodus.
--
View this message in context:
http://old.nabble.com/Where-is--bin-nologin-tp32647652p32647652.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.htm
9 matches
Mail list logo