Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gentour
n00b
n00b


Joined: 01 May 2002
Posts: 57

PostPosted: Sun May 05, 2002 10:33 pm    Post subject: users Reply with quote

1. how do I know in which groups is the user X?
2. how to list alll the users that have accounts on the system?
thanx in advance
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16105
Location: Colorado

PostPosted: Sun May 05, 2002 10:35 pm    Post subject: Reply with quote

groups username should tell you the groups, not sure about the 2nd question.
Back to top
View user's profile Send private message
dArkMaGE
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 152

PostPosted: Sun May 05, 2002 11:05 pm    Post subject: Reply with quote

the simplest way is simply cat /etc/passwd
there are (i suppose) more correct ways, but this works if all you need is a list of users
Back to top
View user's profile Send private message
Gentour
n00b
n00b


Joined: 01 May 2002
Posts: 57

PostPosted: Mon May 06, 2002 5:44 am    Post subject: Reply with quote

thank u all, that did the job :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum