You are not logged in.
I run Arch with openbox on a virtualbox virtual machine. I also use sudo.
I can mount a shared folder manually using
sudo mount -t vboxsf -o rw vboxhsare ~/vboxshare
I would like to mount it at boot since I use it frequently. I tried to add the command to autostart.sh, but sudo asks for a password and it abviously fails without it, because a message "mount: only root can do that."
I attempted to add this line
myname ALL= NOPASSWD: /bin/mount
to the sudoers file, but it is not working. What I would like to do is to be able to mount without the need to input a password. I read the manual but I think I am missing something. Can someone tell me what I am missing or doing wrong?
Thanks
JTS
Edit: thanks, that worked.
Last edited by jimmy the saint (2009-05-03 17:48:07)
Offline
This is how I do it with VBox PUEL: http://bbs.archlinux.org/viewtopic.php? … 35#p472335
Offline