Add the line /sbin/nologin to /etc/shells
----- Original Message -----
From: "Mantas Kriauciunas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 10:09 AM
Subject: FreeBSD 5.0-RELEASE & disabling ssh access
> ermmm... I just Installed 5.0-RELEASE two days ago and i have a question
> i am using adduser to add users. on my 4.5 machine i was able to choose,
to let users use ssh access or don't let them use by adding shell: no , what
i found in 5.0 that there is no such choise, only this:
> Shell (sh csh tcsh bash) [sh]: /sbin/nologin
> adduser: ERROR: Invalid shell selection. Using default shell /bin/sh.
> so how to disable ssh access for the user? i looked in /etc/passwd , some
accounts have /sbin/nologin but i wasn't able to do old stile like 4.5 used
to let me do. so how should i fix this one?
> Thanks for your replies!
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message