LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Users hierarchy--similar to win2k;Group--password (https://www.linuxquestions.org/questions/linux-security-4/users-hierarchy-similar-to-win2k%3Bgroup-password-15796/)

l_9_l 03-07-2002 08:31 PM

Users hierarchy--similar to win2k;Group--password
 
Hi Everybody;

Q1:How can I create users hierarchy similar to M$ Win 2k users hierarchy?

Q2:What's the benfit of setting a password to a group of users? "passwd -g group_name"

unSpawn 03-08-2002 01:18 AM

1. I can't see a difference as there are users, privileged users and some admins, so what do you mean by "W2k users hierarchy"?
2. AFAIK you can't password a group.

l_9_l 03-08-2002 02:19 AM

1.In Linux there's just two types of users--root+regulars users,on the other hand win2k has many types of users--administrator+power users+users+guests ..
How can I do the same thing in Linux?

2.What's does "passwd -g group_name" do?!
-qoutes from "man passwd"
'Group passwords
When the -g option is used, the password for the named group is changed. The user must
either be the super user, or a group administrator for the named group. The current group
password is not prompted for. The -r option is used with the -g option to remove the cur-
rent password from the named group. This allows group access to all members. The -R
option is used with the -g option to restrict the named group for all users.'

3.How can I let an user to just use specific program no more?
e.g.---> just use "netscape"

kill-hup 03-08-2002 09:52 AM

Group passwords can be used to allow users to manage group memberships or to join groups they might not be a part of by default (like joining "wheel" to su, etc). You can set up group admins and such, but I've never personally found a good use for this.

I suppose you could use groups to help establish a concept of "Power Users". You can also install the "sudo" package if your distro doesn't already have it. This allows you to assign normal users access to "superuser" commands (like running the apache restart script, etc). You can create groups and such within the sudo structure as to emulate the structure you see in Windows.

Just my $.04 ;)


All times are GMT -5. The time now is 06:11 PM.