Role information

Asked by Nodirbek

Hi everybody.

I'm looking for Linux command which gives full information about all installed Roles and their Privileges. Can you help me to solve it?

Thanks,
Nodir.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Appiah (appiah) said :
#1

What kind of "roles" are we talking about?

Revision history for this message
Nodirbek (nodir2000) said :
#2

all installed roles, such as Administrator, User...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Thats all there are, users and root. Users can be added to groups to get more or less access but thats the only accounts there are.

Users added to the admin accout can use sudo and gksudo for example, users in the cdrom group can access the optical drives in a system etc.

Revision history for this message
Nodirbek (nodir2000) said :
#4

I meant users. How can I get full information about them? I need the list of all user accounts, their privileges by typing Linux command.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

you can run:

sudo -i; cat /etc/passwd | less

to see all the user accounts, most are system accounts and not actually used. if you want to see what groups a user is in you can run:

groups <username>

e.g.

groups foo

will output the groups the user 'foo' is in.

Can you help with this problem?

Provide an answer of your own, or ask Nodirbek for more information if necessary.

To post a message you must log in.