user administration

Mark Corsi mcorsi at spearreport.com
Thu Feb 21 10:23:08 UTC 2008


You want to use the chmod command.

 

If you look it up in your man pages, you will see a full description.

 

The third number given as a parameter for the command controls the user.

 

7 = read, write, execute

6 = read, write

4 = read

 

The first digit of the 3 digit command controls root, the second digit group
and the 3rd digit controls user level access.

 

So, if you wanted to set permissions for a non-executable file that only
root could write to you would type:

 

                          chmod 644 NameOfFile.txt

 

 

 

 

  _____  

From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of arun s
Sent: Thursday, February 21, 2008 5:15 AM
To: redhat-install-list at redhat.com
Subject: user administration

 

hi ,

1) I have to give  read permission only for a user. Is is possible??

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20080221/546a23ce/attachment.htm>


More information about the Redhat-install-list mailing list