Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [Gentoo/FreeBSD] enewuser and /bin/false shells
Date: Tue, 19 Jul 2005 23:01:48
Message-Id: 200507200058.01284@enterprise.flameeyes.is-a-geek.org
1 Hi,
2
3 As Gentoo/FreeBSD is always improving, I'm thinking is just the case of
4 telling everyone how to correctly use enewuser without bailing out
5 Gentoo/FreeBSD :)
6
7 enewuser is often used with /bin/false as shell to create an user who can't
8 login. Unfortunately this doesn't work on Gentoo/FreeBSD (and AFAIK also
9 Gentoo/OSX has its own problem).
10
11 To avoid this, please pass -1 as option for shell to create a no-login
12 account, which is then expanded to the right shell for the right system.
13
14 Thanks again,
15 --
16 Diego "Flameeyes" Pettenò
17 Gentoo Developer - http://dev.gentoo.org/~flameeyes/
18 (Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)

Replies