Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 1997 20:14:20 -0500 
From:      ringlord@bbs.dcoisp.net
To:        freebsd-questions@freebsd.org
Subject:   /bin/true and /bin/false shells?
Message-ID:  <TCPSMTP.17.11.4.-12.14.20.3047923923.3785@bbs.dcoisp.net>

next in thread | raw e-mail | index | archive | help
Hello.
I am trying to setup the qmail email package on my freebsd 2.2.2 box.
It states in the INSTALL.ids file that  in order for the qmail binary to
even compile, two new groups must be created: qmail and nofiles.  It
then gives six IDS that are needed to run various parts of qmail: each
of these ids have a home directory of /var/qmail and a shell of
/bin/true.  Unfortunately, neither the adduser program, or the manual
additions of these users and shells seems to work.  In fact, I get a
currupted master.passwd file error, which I found out later it was
complaining about the use of the /bin/true shell.
I then checked /etc/shells and sure enough, no mention of that shell.
I checked the man page for shells, and basically was told that the
/etc/shells program gives the shells that are on this system.  Makse
sense. :)  So.  Do all I need to do is add /bin/true and /bin/false to
/etc/shells?
Thanks.
Jeremy





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?TCPSMTP.17.11.4.-12.14.20.3047923923.3785>