Thread
:
Sudo command inside a shell script - 770 asks me for a password
View Single Post
bigboote
2006-01-08 , 04:24
Posts: 50 | Thanked: 0 times | Joined on Nov 2005
#
6
A bit of a resolution to my question above: If you put this line into the sudoers file, you can use sudo inside shell scripts. You can also run the shell scripts outside of xterm (for example as desktop menu items):
user ALL = NOPASSWD: ALL
BTW: I made this addition to the sudoers file on my windows PC via the dropbear SSH server (WinSCP on the PC).
I was also able to open and view the sudoers file on the 770 with joe, but I didn't change anything for fear of screwing up the 770.
Quote & Reply
|
bigboote
View Public Profile
Send a private message to bigboote
Find all posts by bigboote