Results 1 to 2 of 2
Hello,
due to an exercise in Operating Systems I have to do the following:
There are 6 users, user1, user2 ... user6 with home directories /users/user1 ... users/user6. User1 to ...
- 05-01-2010 #1
Unix Exercise - 'chmod'
Hello,
due to an exercise in Operating Systems I have to do the following:
There are 6 users, user1, user2 ... user6 with home directories /users/user1 ... users/user6. User1 to user3 belong to group1, user4 to user6 belong to group2. The System Administrator wants to change the privilege* only to users 1, 2 and 3 to execute the file /bin/xxx. Which are the commands he has to type in order to achieve the previous?
*I'm not sure if this is the right translation.
What I have come till now is:
but it seems too simple to be right.Code:$ chgrp group1 <name_of_file>
Any recomendations?
Thank you in advance and excuse my english.
p.s. I hope I chose the correct category to post this thread.
- 05-04-2010 #2
Hello. I'm sorry to say that homework problems are not allowed on these forums, so I will have to close the thread.
If you have more specific questions in the future that aren't homework assignments, please feel free to ask then.DISTRO=Arch
Registered Linux User #388732


