LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-01-2004, 12:21 PM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Rep: Reputation: 30
Easy way to setup admins to create/maintain users


Is there any easy way to setup a group say "admin" and give it rights to create/modify every day users but make it secure... for example "admin" canīt create accounts with root privaliges.

Sorry this is rarther hyperthetical, I am just really interested to know how it is done!
 
Old 10-02-2004, 12:50 AM   #2
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Personally, I like to use webmin to admin users. You can give a user rights to log into webmin and only give the user rights to the Users and Groups.

The user would be able to use this to add users to the root group, so it doesn't meet your need for security.

Well, that's my $0.02.

MrKnisely
 
Old 10-02-2004, 08:22 AM   #3
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey charon79m ... so is there no way of giving a user/admin restricted rights to manage other users??
 
Old 10-02-2004, 09:26 AM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
I didn't say that...

The method I use does not provide that functuion; however, when you think about it though, adding users is a job for root.

You could give the user rights to the adduser/useradd command.
 
Old 10-03-2004, 11:00 AM   #5
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey charon79m thank for your thoughts. I thought that adding users was really a root job too. Its just we were doing some stuff in class and the teacher gave us an exercise and part of it was to give rights to two users to manage the other user accounts.

When it came to explain how to do it the only way he came up with for doing it was to put the two users in the root group

I thought why not just give them the root password!!
 
Old 10-03-2004, 11:28 AM   #6
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
You could simply change the group ower of the commands you use to manage the user accounts (Something like Admin). Then you could add those users to that group.

You might also be interested in this:
http://web.verbum.org/selinux/linuxfest/img0.html

I do not see a direct link to what you are trying to accomplish; however, you can get SO GRANULAR with this that I bet it could be done.

I still think that webmin is the best way to go.

You mentioned that this is for your "class" and that the "teacher" gave you this as an exercise. Are you in HighSchool and working on Linux?

MrKnisely
 
Old 10-04-2004, 02:43 AM   #7
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey charon79m no I am not at high school, just doing a goverment payed course, to try and learn some more stuff before maby I try to get some sort of certification or somthing who knows maby even a job!

What the idea was that there were 5 members of a family all users, but two of them would have rights to manage the other users accounts.

Its not really important anyway thanks for your time!

Oh btw thats interesting that slide show
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to setup FTP users only users on LInux Fedora Soujiro Linux - Newbie 8 09-13-2010 07:34 AM
Domain Admins not Local ADmins - Samba 3.0.7 dlublink Linux - Networking 2 03-01-2005 11:05 AM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
Easy Mail Server for 6-10 users? MikHud Linux - Software 6 02-15-2003 11:24 AM
is there an easy way to optain a list of users on my box? bripage Linux - Security 6 09-26-2002 07:15 AM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration