Find the answer to your Linux question:
Results 1 to 5 of 5
I am new to linux and would like to allow a user to use SUDO to change password and also delete/add members to a group without signing in as root ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    7

    How do I allow users access to certin commands in visudo?

    I am new to linux and would like to allow a user to use SUDO to change password and also delete/add members to a group without signing in as root or using SUDO. I think you do this in visudo but I dont know the commands to do this.

    Any help?

    Thanks
    Last edited by nextgen; 01-17-2011 at 03:25 PM.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    you can use sudo to restrict users (or a better idea would be groups) to only be able to use certain commands. You can configure it to ask for root's password, the user's password, or no password at all.

    I don't know what vistudio is, so I can't help you with that specifically.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    7
    im sorry. I misspelled that, I ment to say visudo.

    Any help?

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    AH,

    visudo is just a front end command to edit your /etc/sudoers configuration file with vim. You can not delete / add members to a group without signing is as root or using sudo.

    It's technically possible to allow anyone to change group info, but I'm not going to show someone how to make their system MUCH more insecure (this 1 act would basically remove ANY security your system has if someone gained ANY kind of access.)
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  5. #5
    Just Joined!
    Join Date
    Jan 2011
    Posts
    7
    thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...