mount -t cifs without password
Hi All
I have one NAS device and using samba share one folder without password, how can I use command mount -t cifs to mount this share folder? I tried the below command, but always popup password checking? How should I do mount this folder without password checking? #mount -t cifs -o user=nobody.password=nobody //192.168.0.253MailBackup /MailBackup Password: |
Quote:
Another way to do this password-less would be to add the line "guest account = nobody" to your smb.conf and the line "guest ok = yes" to your share definition in smb.conf. Then you can change your mount command to: #mount -t cifs -o guest //192.168.0.253/MailBackup /MailBackup |
Either mount it using the "guest" option, or use a "credentials" file to supply the domain, username, and password.
Personally I've never used the "guest" option. And I routinely use a credentials file. Example of specifying a credentials file: Code:
mount -t cifs //servername/mylogin /home/mylogin/windows -o uid=mylogin -o gid=groupname -o credentials=/home/mylogin/winpasswd Code:
username=mylogin --ET |
Hi
Thanks, my question has been fixed, thanks all who replied this thread, this web-site is very useful ^^ |
All times are GMT -5. The time now is 12:53 PM. |