On Wednesday 02 April 2003 16:24, Tom Munro Glass 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? > > Yes, this is happening so obviously I'm doing this wrong. Also just > realised that normal users can't use mount so I'm really barking up the > wrong tree!
This is what 'smbmount' and 'smbumount' are for. Check out the man page =) Not saying that I think the way you're doing it (mount it in the user's login script) is a good way or not, but just that if you do want unpriviledged users to be able to mount smb shares, smbmount is the way to do it. How you automate that is up to you I guess... Cheers, Gareth
