mount -t smbfs -o username=<username>%<password> //<hostname>/<dir> <mnt point>
----- Original Message ----- From: "Sandeep Vasishta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 08, 2002 9:40 AM Subject: [ilugd]: Mounting windows share on Linux using samba > Dear all, > > Using Samba, I have mounted Windows share on Linux box. While > executing mount command, it prompts for the password (which is logical). But > I want to do it through script, is there any option that I can provide > passwd in command line or do something that I does not ask for pasword. I > could not find any option for providing password in command line in mount > and smbmount command. Pls let me know if someone has clue. My basic > requirment is that it should be done through script without human > interaction. Though password can be given in the script. > > Regds, > Sandeep > > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > ================================================ > To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header > To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header > Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org > ================================================= > > ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================