Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] adduser_help
Date: Sat, 07 Jul 2001 08:47:22
Message-Id: 3B470E78.76E06038@gentoo.org
In Reply to: [gentoo-dev] adduser_help by Karshi
1 Karshi wrote:
2 >
3 > It might sound very simple, but I am having hard time to add a user.
4 > It creates a user but does not allow to login. Also, it says that "-d"
5 > option is not supported use "-m"
6 > command, when I tried to create a home directory for a user.
7 >
8 > Can you tell me what's the best/right way of using adduser command?
9 > I am still logging in as a root.
10 > Thanks
11 >
12 useradd -m [username] # creates the homedir for the user
13 if you want to allow the user to su you must ad -G users.wheel like
14 prakash described
15
16 bye achim~
17
18 > _______________________________________________
19 > gentoo-dev mailing list
20 > gentoo-dev@××××××××××.org
21 > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev