Results 1 to 2 of 2
How can I su to root to mount a file system inside a script,
of course I have the root password.
Thanks....
- 03-12-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 1
su to root inside a cript
How can I su to root to mount a file system inside a script,
of course I have the root password.
Thanks.
- 03-12-2007 #2
I'm not sure if that's possible. You could run the script as root, and then you'd have the right permissions.
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode


Reply With Quote