Mounting Windows Shares Automatically (at boot, at login)

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: George Gambill
Dato:  
Emne: Mounting Windows Shares Automatically (at boot, at login)
The mount command:

mount -t smbfs -o username=UserName,password=UserPassword
//HostName/HoseShare /mnt/WinMountPoint

works very well. However, it is a manual effort and I would like to be able
to issue such a command automatically:

A) At boot time

B) At login time according to (which share to mount) who logged in.

Where to hide such commands has so far eluded me. My questions are:

1) Where to hide them so they are issued at boot?

2) Where to hide them so they are issued at login?

3) Can fstab be used for the boot portion? If so, how?

FYI, RedHat 8.0, KDE

Thanks

George Wayne Gambill ... Registered Linux User: #311028