LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-07-2002, 08:31 PM   #1
l_9_l
Member
 
Registered: Dec 2001
Location: New Zealand,Auckland
Distribution: debian
Posts: 86

Rep: Reputation: 15
Question 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"
 
Old 03-08-2002, 01:18 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 03-08-2002, 02:19 AM   #3
l_9_l
Member
 
Registered: Dec 2001
Location: New Zealand,Auckland
Distribution: debian
Posts: 86

Original Poster
Rep: Reputation: 15
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"
 
Old 03-08-2002, 09:52 AM   #4
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving users, password, and group settings for reinstall archdev Linux - General 2 06-08-2005 06:09 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 04:25 AM
group and password files in /etc Raphael M Slackware 2 08-14-2004 11:53 AM
Creating a group hierarchy? statuszero Linux - Security 5 07-16-2004 03:18 PM
Users Group datadriven General 2 04-22-2004 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration