On Friday 28 March 2003 08:14 am, Zhi Cheng Wang wrote: > Hi, Christopher > > Thanks. but the plain text passwd is really a concern and also the user's > passwd will change periodically on the win sys. it is a quite large org, > and the internal security is also an issue. > > cheng
man smbmount and see the third options. You can use a credential file rather than a clear text password in /etc/fstab. The file can be made to readable to root only. I've never done this before, but it should not be difficult. RDB > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of christopher cuse > Sent: 28 March 2003 12:59 > To: [EMAIL PROTECTED] > Subject: RE: mount win shares to Linux automatically - possible? > > > hi cheng > > you can mount remote windows shares provided that you have installed samba. > once installed, try a line similar to this in your /etc/fstab file > > //drs1/c$ /mnt/caca smbfs password=mypassword,username=ccuse 0 0 > > where drs1 is the netbios name of the windows box, c$ is the share name, > and username and password accordingly. > > cheers > > christopher cuse > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Zhi Cheng Wang Sent: Friday, March 28, 2003 1:46 PM > To: [EMAIL PROTECTED] > Subject: RE: mount win shares to Linux automatically - possible? > > > thanks for the suggestion, but I am talking about remote files, I am not > that new. > > cheng > > -----Original Message----- > From: winglion [mailto:[EMAIL PROTECTED] > Sent: 28 March 2003 12:41 > To: [EMAIL PROTECTED] > Subject: Re: mount win shares to Linux automatically - possible? > > > > It is very easy to do that! example : > at this live to your fstab : > mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda5 /mnt/d > this line tell linux to mount the hda5 (which is the D: in M$window) > The option next to -o tell linux to support chinese charset filename! > > Actually,I am a newbe to linux too! Yet,I think you should search for > answer on google or some other engines before you sent a mail here! > So many knowledges we can find on the internet!:-) > > >Hi, Gurus > > > >Is it possible to define something in the /etc/fstab file so that a > > windows share can be mounted to Linux box automatically when sys reboot? > > (or something in /etc/rc.local without plain text passwd?) > > > >the scenario: > >we have two (ha, more than two) systems in our institute, a few MS file > > servers and some Linux file servers. For the Linux users, they want to be > > able to access windows files within Linux (the other way around is easier > > to accomplish using samba). At the moment, the users have to use > > smbclient, Nuatilus or command line "mount -t smbfs -o .. ...". > > > >it would be much better if the Linux desktops can automatically mount the > > user's share to e.g. /home/user1/win > > > >thanks > > > >Cheng > > winglion > [EMAIL PROTECTED] > 2003-03-28 -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. ------------------------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list