Re: A Newbie question, please help!
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 19:31:39 +0200
Theo v. Werkhoven wrote:
I would like to create 02 user group which are groupA and groupB
# groupadd groepA
# groupadd groepB
YaST, Security and Users, Group Management
There 05 users belong to 02 group above:
user01, user02 belong to group A
user03, user04 belong to group B
user05 belong to both group A and group B.
# adduser -g groupA user01
# adduser -g groupA user02
# adduser -g groupB user03
# adduser -g groupB user04
# adduser -g groupA -G groupB user05
YaST, Security and Users, User Management.
Is there any GUI Interfaces to do the above thing, like windows 2000?
The command to create user look like too complicated for me...and in
case there are 50 user and 10 group, it would be hard to manage it...
Scripting would be my answer, but SUSE has YaST if you want a GUI.
Scripting is easy. Add the following in a file and do `sh file`
#!/bin/bash
groupadd groepA
groupadd groepB
adduser -g groupA user01
adduser -g groupA user02
adduser -g groupB user03
adduser -g groupB user04
adduser -g groupA -G groupB user05
I fauil to see any reason to do that, but whatever. :-D
houghi
--
houghi http://houghi.org http://www.plainfaqs.org/linux/
http://www.netmeister.org/news/learn2quote.html
.
Today I went outside. My pupils have never been tinier...
- References:
- A Newbie question, please help!
- From: long0345
- Re: A Newbie question, please help!
- From: Theo v. Werkhoven
- A Newbie question, please help!
- Prev by Date: Re: Third party repos during the installation. (was Re: YaST inferior to Synaptic)
- Next by Date: Re: Amarok and Gwenview plugins on JAD
- Previous by thread: Re: A Newbie question, please help!
- Next by thread: Re: A Newbie question, please help!
- Index(es):
Relevant Pages
|