Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined! AxlD's Avatar
    Join Date
    Oct 2009
    Location
    Grand Line
    Posts
    4

    Question 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:

    Code:
    $ chgrp group1 <name_of_file>
    but it seems too simple to be right.

    Any recomendations?

    Thank you in advance and excuse my english.

    p.s. I hope I chose the correct category to post this thread.

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...