Mount NFS shares with samba or CIFS without passwordBy neokrates, written on November 18, 2011 |
howto |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Which CI tools are used in your enterprise?
- Something else (72%, 13 Votes)
- Hudson (17%, 3 Votes)
- CruiseControl (11%, 2 Votes)
- Continuum (6%, 1 Votes)
- TeamCity (6%, 1 Votes)
Total Voters: 18
Loading ...
Most popular search terms:
I you use mount -t cifs //my.host/mydir it will ask you for password. You will get the prompt even if there is no password on //my.host/mydir. That is especially a problem if you want to use /etc/fstab for auto mount.
Works for:
newer Debian, Ubuntu, CentOS distros.
Linux distros with CIFS support
Just add -o user=,password= and there will be mount with no prompt.
> mount -t cifs //my.host/mydir -o user=,password= /mnt/samba
and inside of fstab it would be :
less /etc/fstab
//my.host/svn /mnt/samba cifs rw,nounix,user=,password= 0 0
|
LEARN MORE (amazon bookstore)
|
|
TAGS
|
|
SOCIAL
|
|
INCOMING SEARCH TERMS
|


















