Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- truecrypt -t --non-interactive /dev/sdb1 -p "<my password>" -k "<key path>"
- exit 0
- script runs fine with SUDO, but I want it to run at boot or with with root without password (i.e. SUDOERS entry).
- I added the below line to sudoers, but still no luck:
- username ALL= NOPASSWD: /path/to/above/script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement