Mounting non linux partitions
From: D.S. (donstock_at_nospamcox.net)
Date: 03/19/05
- Next message: Tommy Reynolds: "Re: Mounting non linux partitions"
- Previous message: Lenard: "Re: Red Hat Enterprise Linux 4?"
- Next in thread: Tommy Reynolds: "Re: Mounting non linux partitions"
- Reply: Tommy Reynolds: "Re: Mounting non linux partitions"
- Reply: noi: "Re: Mounting non linux partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 19 Mar 2005 10:30:49 -0600
How would I write a script to mount non linux partitions? some are VFAT
and some are NTFS. I would also like to have full access (privilages)
I would like to have my root user password passed on as part of the script.
I've tried the following with no success, where <donald> is the user's name:
su
mount /dev/hda6 /home/donald/Desktop/WindowsFiles
su --password=rootpassword
mount /dev/hda6 /home/donald/Desktop/WindowsFiles
I have saved the script to my desktop with the .sh extension. Either
way, when I try running it, it still opens a terminal prompting me for
the root user password.
- Next message: Tommy Reynolds: "Re: Mounting non linux partitions"
- Previous message: Lenard: "Re: Red Hat Enterprise Linux 4?"
- Next in thread: Tommy Reynolds: "Re: Mounting non linux partitions"
- Reply: Tommy Reynolds: "Re: Mounting non linux partitions"
- Reply: noi: "Re: Mounting non linux partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|