View previous topic :: View next topic |
Author |
Message |
Gentour n00b
Joined: 01 May 2002 Posts: 57
|
Posted: Sun May 05, 2002 10:33 pm Post subject: users |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun May 05, 2002 10:35 pm Post subject: |
|
|
groups username should tell you the groups, not sure about the 2nd question. |
|
Back to top |
|
|
dArkMaGE Apprentice
Joined: 20 Apr 2002 Posts: 152
|
Posted: Sun May 05, 2002 11:05 pm Post subject: |
|
|
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 |
|
|
Gentour n00b
Joined: 01 May 2002 Posts: 57
|
Posted: Mon May 06, 2002 5:44 am Post subject: |
|
|
thank u all, that did the job |
|
Back to top |
|
|
|