Find the answer to your Linux question:
Results 1 to 2 of 2
I'm kind of new to changing the sudoers file.... I installed ushare on my xfce and i wrote a script to start it the script is as follows Code: #!/bin/bash ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    1

    editing sudoers file


    I'm kind of new to changing the sudoers file....

    I installed ushare on my xfce and i wrote a script to start it the script is as follows

    Code:
    #!/bin/bash
    sudo /etc/init.d/ushare start
    echo "Media Server Started Enjoy :)
    sleep 5
    exit
    this script is located in /bin/

    i created a desktop launcher to run the script on double click

    Code:
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=XboxStream
    Comment=Stream Videos to Xbox
    Exec=ushare.sh
    Icon=xfce-unknown
    Path=/bin/
    Terminal=true
    StartupNotify=false
    how would i go about adding these to my sudoers file so that when i click the launcher it no longer asks me for my password?

    thanks in advance,

    Mike

  2. #2
    Just Joined!
    Join Date
    May 2011
    Location
    Brazil
    Posts
    21
    Change the permission with chmod command

Posting Permissions

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