2

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.

nanofarad
  • 20,717
  • This still works: http://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. – nanofarad 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. – nanofarad Oct 30 '12 at 11:34
  • 1
    sure :-) http://stackoverflow.com/questions/323957/how-do-i-edit-etc-sudoers-from-a-script 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
  • @Rinzwind It's more for one-time management I need to offer to a non-Linux-oriented school employee... :) – nanofarad Oct 30 '12 at 11:39

1 Answers1

-2

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.

kaan
  • 661