7D8
In Runtime
- Messages
- 209
hi, I'm using Debian and am trying to setup an sh script that will mount a drive.
Debian by default allows this action to be performed by root. Which is fine with me. However, I need to:
i tried doing:
but that didn't seem to take. I would like to avoid making my user a sudoer.
Any ideas?
SOLVED: ahh... solved it another way. Added the volume into /etc/fstab and now it auto mounts. go me!
Debian by default allows this action to be performed by root. Which is fine with me. However, I need to:
- Login as root
- Mount Drive
- Exit
i tried doing:
Code:
su root
echo mypass
but that didn't seem to take. I would like to avoid making my user a sudoer.
Any ideas?
SOLVED: ahh... solved it another way. Added the volume into /etc/fstab and now it auto mounts. go me!