Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Quite simply, is there a GUI to visudo I can recommend to other users, and use for myself? I have to set up a system where over 50 users have different sudo privileges and I need to juggle them all.

share|improve this question
    
This still works: askubuntu.com/questions/66718/how-to-manage-users-and-groups ;) –  Rinzwind Oct 30 '12 at 11:30
    
@Rinzwind It does, but not when I an trying to juggle more complex permissions. –  hexafraction Oct 30 '12 at 11:31
    
GUI and more complex? If complex I'd use command line (I would script something that adds the lines you need to visudo). Problem with GUI is that is will always depend on you inserting a user name 1st... so you will have to do this for all users manually. –  Rinzwind Oct 30 '12 at 11:33
    
@Rinzwind Can you give a link to such a script? I think that users seeking to edit sudoers can be directed to this question for a GUI. –  hexafraction Oct 30 '12 at 11:34
1  
sure :-) stackoverflow.com/questions/323957/… All you need is a tmp file that holds the lines you need and you can use that script to create a new visudo. –  Rinzwind Oct 30 '12 at 11:36
show 1 more comment

1 Answer

1- "The configuration file for sudo is /etc/sudoers. It should always be edited with the visudo command. visudo locks the sudoers file, saves edits to a temporary file, and checks that file's grammar before copying it to /etc/sudoers."

2- Automatic repetitive work is generally best done via a script, not a GUI.

share|improve this answer
    
You are correct, but I need to provide the program to non-computer-oriented school staff. –  hexafraction Oct 30 '12 at 11:50
    
Are you the one who will change the sudoers file, or the owner of each computer? Only root is allowed to change the file. –  kaan Oct 30 '12 at 12:27
    
I am not the one modifying. The owner will. They can elevate already. –  hexafraction Oct 30 '12 at 12:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.