[Please do not remove Cc: freebsd-questions]

On Thu, Feb 20, 2003 at 05:25:12PM -0900, Jon Reynolds wrote:
> On Thu, 2003-02-20 at 14:13, Jonathan Chen wrote:
[...]
> > Set up the users with a non-existent shell (eg: /nonexistent), and add
> > the non-existent shell entry into /etc/shells.
>  
> I tried this but when I went to adduser and typed in the shell name that
> I had added to /etc/shells, it gives the error:
> nonexistent is not allowed!
> 
> When you first issue the adduser command it checks the /etc/shells then
> says:
> Shell: /nonexistent not executable!
> 
> After this happened I made a dummy file called nonexistent and made it
> executable but to no avail. Is there a hidden step?

Add your users using vipw. Alternatively, add all your users using
adduser and then use vipw to modify their shells to /nonexistent.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
----------------------------------------------------------------------
                             "Beer. Now there's a temporary solution."
                                                       - Homer Simpson

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to