|
|
#1 |
|
Registered User
Join Date: Jul 2005
Posts: 1
|
Need to sudo in shell script without password prompt...
Hello
I've written a shell script to alter a prefs file, which works great when you're sat in front of the Mac and can type in the password. However I now need to roll this out across a number of other Macs. My plan was to do this over remote desktop. This requires that the script runs without prompting for a password. My plan was to change the shell user to the admin user that has an account on every Mac, then sudo up from there (since the password is consistent and can be included in the script). As yet I cannot pipe the password into sudo so it doesn't prompt for a password. Any help very much appreciated... |
|
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|