That is a security hole cause anyone that does a ps -aux can see the
username and password .. its better to refer to a file for the
authentication info.
ie from a fictional fstab file .....
//windozebox/big_disk_1 /mnt/big_disk_1 smbfs
credentials=/etc/samba/auth.windozebox.Administrator 0 0
and from the fictional credentials file .....
username = Administrator
domain = MYDOMAIN
password = asecret
>> --B
>> On Wednesday 18 December 2002 16:20, Brian O'Donoghue wrote:
> > > that maps to the command:
> > > mount -t smbfs -o fmask=666,guest //server/share /home/share
> >
> > shouldn't you have a username=whaterver,password=whateverelse in that
> > mount command?
> >
> > mount -t smbfs -o username=something,password=whaterver
> > //somecomputer/sharename /mnt/somwehre
> >
> > bod
--
-- Bryan Hunt
Things equal to nothing else are equal to each other.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!