From owner-freebsd-questions Wed Jan 22 20:38:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B09937B405 for ; Wed, 22 Jan 2003 20:38:55 -0800 (PST) Received: from mntkz.net (12-250-25-210.client.attbi.com [12.250.25.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id A184C43F5B for ; Wed, 22 Jan 2003 20:38:54 -0800 (PST) (envelope-from mntkz@mntkz.net) Received: from mntkz.net (localhost [127.0.0.1]) by mntkz.net (8.12.6/8.12.6) with ESMTP id h0N4dClb034594 for ; Wed, 22 Jan 2003 22:39:12 -0600 (CST) (envelope-from mntkz@mntkz.net) Received: (from root@localhost) by mntkz.net (8.12.6/8.12.6/Submit) id h0N4dBwu034593 for freebsd-questions@freebsd.org; Wed, 22 Jan 2003 22:39:11 -0600 (CST) Date: Wed, 22 Jan 2003 22:39:11 -0600 (CST) From: Mantas Kriauciunas Message-Id: <200301230439.h0N4dBwu034593@mntkz.net> To: freebsd-questions@freebsd.org Subject: FreeBSD 5.0-RELEASE & disabling ssh access Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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