Discussion Locked

How can I set Gropu level permissions???

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

5 replies

by randyarnold

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

by wls

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.

This discussion is closed to new replies.