On Tue, 01 Apr 2003 20:50:04 +1200
Tom Munro Glass <[EMAIL PROTECTED]> wrote:

> In ~/.profile I'm using several commands like
> 
> mount -t smbfs //server/share ~/share -o credentials=~/.credentials

doesn't this mean every time you log into a shell it does the mount
again? or tries to?

> 
> to mount various Windows network shares when a user logs on.
> 
> Question 1: ~/.credentials contains the username and password because
> I can't find a way of getting the logon password. Is there a solution
> to this?
> 

try -o username=user,password=passwd

> Question 2: Since I'm mounting the network shares when the user logs
> on, should I umount them before he/she logs off, and if so, how can I
> do this automatically?
> 




> Cheers,
> 
> Tom Munro Glass
> 

Reply via email to