Mounting Windows Shares Automatically (at boot, at login)

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: George Gambill
日付:  
題目: 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