Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 05:46 +0800
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        TMM@infothuis.nl, freebsd-questions@FreeBSD.ORG
Subject:   RE: adduser 'errors'
Message-ID:  <199804302154.FAA14747@odyssey.apana.org.au>

next in thread | raw e-mail | index | archive | help

----Original Message-----
>From:    	The Mad Maniac <TMM@infothuis.nl>

>i just thought i would add a few users to my system, but when i start
>'adduser' this is what it tells me:
>
>check /etc/shells
>check /etc/master.passwd
>user deamon: illegal shell: ``/nonexistent''
>user games: illegal shell: ``/nonexistent''
>user man: illegal shell: ``/nonexistent''

These are system accounts. The shell is set to the ficticious "/nonexistent" primarily to prevent someone from logging into that account. You could write a simple bash script to echo that no logins are permitted and then exit, as a replacement - it would remove the errors.

>Can someone tell me how this could have happened (didn't do this before)
>and how to fix it ?

It is a standard feature. Use the -v switch with adduer to turn the warnings off.

Regards,

d.


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?199804302154.FAA14747>