Re: A Newbie question, please help!



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...
.



Relevant Pages

  • Re: A Newbie question, please help!
    ... The command to create user look like too complicated for me...and in ... Scripting would be my answer, but SUSE has YaST if you want a GUI. ... adduser -g groupA user01 ...
    (alt.os.linux.suse)
  • Re: Is every user a member of Users?
    ... >>E.g., if GroupA includes GroupB, then the members of GroupB are ... >>effectively members of GroupA. ... resources/permissions and/or set of rights for doing ...
    (microsoft.public.win2000.security)
  • Re: Three table query
    ... Okay groupA are Staff and GroupB are Students therefore I don't really ... Each person in either groupA or GroupB has a field titled RoomID. ...
    (microsoft.public.access.queries)
  • Re: Problem with empty pages
    ... outermost group, then GroupB - which can contain multiple pages of data, ... GroupB will be multiple pages I get a page with just the Group header on a ... That is followed by a page with the new GroupA, ... In the change group, option, on the second tab, is keep group together ...
    (microsoft.public.vb.crystal)
  • Re: Everyone take ownership
    ... I change its permissions so only GROUPA and ... > in GROUPA or GROUPB can claim Ownership of the folder. ... Looks like the permission is inherited from the parent folder. ...
    (microsoft.public.win2000.security)