General discussion

  • Creator
    Topic
  • #2082823

    How can I set Gropu level permissions???

    Locked

    by capricorn732 ·

    Hi,
    I’m New to Linux and want to know how to set group level permissions like in NT. I want to make a STUDENT group and assign it some resticted permissions like can’t so anything out of his home dir OR can’t go outside of home dir, can execute only few commands like passwd and etc. A how can I add new users to that GUEST group after creating a new user?

All Comments

  • Author
    Replies
    • #3897924

      How can I set Gropu level permissions???

      by randyarnold ·

      In reply to How can I set Gropu level permissions???

      You have pretty much described the normal linux user. Look at the man pages for adduser, chmod, and chown.
      If you are using RedHat, then linuxconf is a great tool for managing users and groups. You might also want to look at the linux configurationhowto, and the linux security howto.

      Randy

    • #3828115

      How can I set Gropu level permissions???

      by wls ·

      In reply to How can I set Gropu level permissions???

      You may be misunderstanding the security model used.

      You do not create arbitrary tags and assign permissions or denials to them and then attach them to objects for enforcement.

      Each user has a id number (UID) and a primary group number (GID), and you can put a person into more than one group.

      Since everything looks like a file to Unix, you can use the various file protection mechanisms to control access.

      To limit where someone can go, you use the chroot command to tell where they’retop level directory is. Everything that’s not under that directory is *gone* to the user.

    • #3827046

      How can I set Gropu level permissions???

      by capricorn732 ·

      In reply to How can I set Gropu level permissions???

      This question was auto closed due to inactivity

Viewing 2 reply threads