1753532 Members
5694 Online
108795 Solutions
New Discussion юеВ

linux

 
Ashok Kumar B S
Occasional Contributor

linux

How to see the permission of a user
4 REPLIES 4
rohan shah
New Member

Re: linux

Hi,

Just try ls-l and file name it will show all permission for file or directory. the permission divide into three part.

1. Owner permission.
2. Group permission.
3. Other permission.

Also you can try getfacl command.

getfacl it will also work like ls-l.

Regards
Rohan
Ivan Krastev
Honored Contributor

Re: linux

~sesh
Esteemed Contributor

Re: linux

The etc/passwd file contains user information such as:

1. Username.
2. Password (encrypted) (or an x if shadow passwords are being used.
3. User ID (UID) to determine access privileges.
4. Group ID (GID) to determine access privileges.
5. Home directory, such as /home/juan/.
6. Shell, the command interpreter (shell) for e.g. /bin/bash or /bin/sh

There are many web site with more detailed information, and you should be able to find the one that you need by searching in google.
I found:

http://www.linux.com/base/ldp/howto/User-Authentication-HOWTO/x71.html
Steven Schweda
Honored Contributor

Re: linux

_Files_ have permissions. I don't know what
"permission of a user" means.

Is there some problem which you are trying to
solve?