Find the answer to your Linux question:
Results 1 to 3 of 3
PANIC BUTTON!! THEY MOVED THE ARCH FORUM!!! Whew, I found it... but that was scary. Anyways, I want to be able to have certain scripts or whatnots be able to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2007
    Location
    Here. There. Anywhere.
    Posts
    157

    sudo/root execution with script/from desktop


    PANIC BUTTON!! THEY MOVED THE ARCH FORUM!!!
    Whew, I found it... but that was scary.

    Anyways, I want to be able to have certain scripts or whatnots be able to run, say, Pacman or reboot a from non-root account (without su'ing). How would I go about doing this, if anyone knows?

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209

    Thumbs up

    you can use sudo
    add the services you want against te user you want in sudoers file.
    Last edited by raghaven.kumar; 04-17-2008 at 12:31 PM. Reason: Ok man

  3. #3
    Linux Newbie
    Join Date
    Jul 2007
    Location
    Here. There. Anywhere.
    Posts
    157
    Not quite what I was looking for... but I just found it. I want to "sudo" from inside a script. Here is where I found my solution.

Posting Permissions

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