Advertisement
Guest User

tc_mount

a guest
Jan 19th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/bash
  2. truecrypt -t --non-interactive /dev/sdb1 -p "<my password>" -k "<key path>"
  3.  
  4.  
  5. exit 0
  6.  
  7.  
  8. script runs fine with SUDO, but I want it to run at boot or with with root without password (i.e. SUDOERS entry).
  9.  
  10. I added the below line to sudoers, but still no luck:
  11. username ALL= NOPASSWD: /path/to/above/script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement