[nflug] permission question

Cyber Source peter at thecybersource.com
Sun Jan 28 13:25:49 EST 2007


anthonyriga wrote:
> I have on my Ubuntu Edgy Cisco vpn client. I created
> scripts to excute connect and disconnect the client.
> The scripts dont work because of sudo. How do I create
> a sudo group that give rights to run just the scripts
> without prompting for a password or is there a way to
> write the script as to not to as for the password? For
> ex here is the start script. Suggestion? 
> #!/bin/bash
> sudo /etc/init.d/vpnclient_init start 
>
> Sent Using Ubuntu Linux Operating System Edgy 6.10
>
>
>  
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check. 
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>   
You can adjust sudo to allow for no passwords.
Bookmark this one...
http://ubuntuguide.org/wiki/Ubuntu_Edgy


        How to use "sudo" without prompt for password (not secure)

    * Read #General Notes
      <http://ubuntuguide.org/wiki/Ubuntu_Edgy#General_Notes>

EDITOR=gedit sudo visudo

    * Find this line

...
system_username	ALL=(ALL) ALL
...

    * Replace with the following line

system_username	ALL=(ALL) NOPASSWD: ALL

    * Save the edited file


_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list