Find the answer to your Linux question:
Results 1 to 4 of 4
1) How do I update sudo's configuration file (using the proper program) to allow my account to run sudo for the following commands as root: init ifconfig passwd useradd 2) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    6

    How to change sudo


    1) How do I update sudo's configuration file (using the proper program) to allow my account to run sudo for the following commands as root:
    init
    ifconfig
    passwd
    useradd

    2) How do i allow another use that i create to run sudo for the following commands as my account:
    ls
    touch

  2. #2
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Location
    Mt. Washington, Kentucky
    Posts
    154
    Quote Originally Posted by incomingid View Post
    1) How do I update sudo's configuration file (using the proper program) to allow my account to run sudo for the following commands as root:
    init
    ifconfig
    passwd
    useradd

    2) How do i allow another use that i create to run sudo for the following commands as my account:
    ls
    touch
    visudo

    Your best bet it to create a group and add the users to that group for sudo access.
    LINUX - "The other white meat.."
    Registered Linux User #439112

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    6
    How do i write the syntax to add commands to a specific that does not have super use access.

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Check this HowTo for setting up sudo:

    Sudo Howto
    oz

Posting Permissions

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