PDA

View Full Version : [ubuntu] how to run sudo command with password



vksingh
October 10th, 2009, 10:51 AM
I want to run sudo command along with the password in one line.


Please help ..............:(

alienclone
October 10th, 2009, 11:43 AM
i dont think it is possible because the password would be in plain visible text which would be a security risk.

i will get yelled at for this, but if you dont like having to type in the password at prompt then do a search for info on running as root permanently.

kerry_s
October 10th, 2009, 12:05 PM
I want to run sudo command along with the password in one line.


Please help ..............:(

why just use the nopasswd in visudo.
example:
you ALL=NOPASSWD: /path/to/your/command

i use a few.see pic