daily pastebin goal
55%
SHARE
TWEET

tc_mount

a guest Jan 19th, 2012 17 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top