LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Easy way to setup admins to create/maintain users (https://www.linuxquestions.org/questions/linux-networking-3/easy-way-to-setup-admins-to-create-maintain-users-237575/)

jimdaworm 10-01-2004 12:21 PM

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!:study:

charon79m 10-02-2004 12:50 AM

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

jimdaworm 10-02-2004 08:22 AM

Hey charon79m ... so is there no way of giving a user/admin restricted rights to manage other users??

charon79m 10-02-2004 09:26 AM

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.

jimdaworm 10-03-2004 11:00 AM

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 :tisk:

I thought why not just give them the root password!!

charon79m 10-03-2004 11:28 AM

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

jimdaworm 10-04-2004 02:43 AM

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!:eek:

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 :)


All times are GMT -5. The time now is 08:00 AM.