RE: user administration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:redhat-install-list-bounces@xxxxxxxxxx] On Behalf Of arun s
Sent: Thursday, February 21, 2008 5:15 AM
To: redhat-install-list@xxxxxxxxxx
Subject: user administration

 

hi ,

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

 

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe

[Index of Archives]     [Fedora Users]     [Red Hat General]     [Red Hat Development]     [Red Hat Kickstart]     [Samba]     [Kernel]     [Kernel Newbies]     [Yosemite News]

  Powered by Linux