Date: Wed, 22 Jan 2003 22:39:11 -0600 (CST) From: Mantas Kriauciunas <mntkz@mntkz.net> To: freebsd-questions@freebsd.org Subject: FreeBSD 5.0-RELEASE & disabling ssh access Message-ID: <200301230439.h0N4dBwu034593@mntkz.net>
next in thread | raw e-mail | index | archive | help
Heya! ermmm... I just Installed 5.0-RELEASE two days ago and i have a question about adduser. 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! mNTkz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301230439.h0N4dBwu034593>