On Mon, 21 Oct 2002, Carl Parrish wrote: > Okay I'm getting better at this samba stuff but still have a few issues. I want to mount a windows share on this box. I don't want typical users to be able to mound devices on this box. So only root can mount a dev. I need to change to another username however to access the share. if I was using smbmount directly I would do something like > /usr/sbin/smbmount //windowsBox/shareName username=Carl > > however smbmount doesn't seem to be working and I think someone on the list showed me that I should be using mount -t smbfs anyways so I tried something like > > mount -t smbfs //windowsBox/shareName /targetDir username=Carl > > But that's not working either. Anyone know what syntax I should be using to change the username used to access the box. > > btw smbclient is working fine with > smbclient //windowsBox/shareName -U Carl > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > 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 > Here is an example using mount -t smbfs... on my system (mounting a windows share on linux): --> mount -t smbfs -o username=sbrews //defiant/source /mnt Password: Since the share is password protected and I didnt specify it, I was prompted for it. You could also specify the password on the command like this: --> mount -t smbfs -o username=sbrews,password=passwd //defiant/source /mnt Of course, the downside is that anyone shoulder surfing can see your password - as well as it now being in your command history. scott ps - I was root when the mount commands were issued.