SuSe Linux Mount


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users SuSe Linux Mount
# 1  
Old 04-02-2008
SuSe Linux Mount

Hi everyone, I am new to Linux and I hope to have some advise.

Suppose I have 2 differnt users who require differnt mount drives. When user1 logs in, his required drives are mounted. When user2 logs in, user1's drives are unmounted and user2's drives are mounted.

May I know how I can achieve this? Many thanks in advance.
# 2  
Old 04-02-2008
Hi Viper81,

You can do this very easily with the pam_mount facility which is installed as standard on SuSE.

This is configured via the /etc/security/pam_mount.conf file. See "man pam_mount" for details. There's also a ton of guides on the net, have a google for "pam_mount suse".

Hope this helps,

-c
# 3  
Old 04-03-2008
Hi Craig,

Many thanks for your reply. I am using SuSe Linux 9 and I could not find any pam_mount.conf in the /etc folder. I forgot to also add that the drives to be mounted are located on a different computer (Windows).

Sorry but I am pretty new to Linux.

Last edited by viper81; 04-03-2008 at 12:32 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Linux

SUSE Linux

i'm new linux ... after reboot ...... my keyboard is notworking automatically boot ..... after few mins Waiting for mandatory devices: eth-id-00:10:a7:08:cb:4b 12 11 9 8 7 5 4 3 1 0 eth0 interface could not be set up failed Setting up service network . . . . . . . . . . . . . ... (2 Replies)
Discussion started by: coolboys
2 Replies

2. OS X (Apple)

howto mount mac volume on suse 11

as the title states, i cant mount suse of apple volumes on either box. have tryed afpfs-ng but no love. anyone have a suggestion than samba (because i dislike MS) and NFS because i don't know jack about it..... yet thanks in advance julz (4 Replies)
Discussion started by: biorhythm
4 Replies

3. UNIX for Dummies Questions & Answers

Floppy will not mount on SUSE

I have installed SUSE 10 on a laptop that has a swappable CDROM/Floppy drive. When I was installing the OS my CDROM was connected. Later I tried to swap it with the Floppy and mount it but no success. Here is what I get: dell:/dev # mount -t msdos /dev/fd0 /mnt /dev/fd0: Invalid argument ... (0 Replies)
Discussion started by: reedcat
0 Replies

4. UNIX for Advanced & Expert Users

Suse Linux mount problems ?

We are experiencing several startup problems at boot time. In our /etc/rc.d/boot script we have "swapon -a -v &> /dev/null/' (without the quotes). We have also added echo statements to make it visible on the HMC during IPL. The echo statements are seen but there no messages for the swapon... (1 Reply)
Discussion started by: darthur
1 Replies
Login or Register to Ask a Question