Mounting Windows Shares Automatically (at boot, at login)
Austin Godber
plug-discuss@lists.plug.phoenix.az.us
Thu, 05 Jun 2003 10:18:57 -0700
http://www.flyn.org/projects/pam_mount/
check that out. I havn't used it, but it looks like what you need ...
well at least for your B. Yes, fstab can be used for the boot. You end
up with your samba password in the fstab though.
//host/share /mnt smb username=samba,password=hi,rw 0 0
Austin
George Gambill wrote:
> 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
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>