1
vote
0answers
492 views

How to Disable AutoMount of External Drives

Is it possible to Disable auto mount of External Harddrives or USB's in RHEL. For security reasons I have to disable this feature. And when I need it I will enable it back.
3
votes
1answer
1k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
2
votes
1answer
743 views

How Do I use autofs to map a USB drive by its ID?

Goal I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER) Question What is the best ...
2
votes
1answer
539 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
1
vote
1answer
391 views

Auto mount HP USB Flash drive Error

I am using RHEL 5, If i plug my USB Flash drive i'm getting Error message as follows, This much days It work smoothly, And now it working with windows XP well. Where is the problem ? How can i ...