You are not logged in.

#1 2012-11-20 20:40:31

nixIT
Member
Registered: 2010-01-13
Posts: 528

[CLOSED] mount smb share gives error

Hello all,

Just did a fresh install of linux yesterday from the current ISO.  Everything seemed to go ok, a couple issues I'm working through.

I installed (I think) all related samba files per the wiki, and when I go to mount a share on my NAS:

mount -t cifs //srvnas/movies /mnt/movies -o user=nixit,password=!pa55w0rd

I receive the following error:

-bash: !pa55w0rd: event not found

is this because my password has a ! in it?  I've had this password for a while, and it worked before my reinstall, or am I missing something?

if I mount this way:

mount -t cifs //srvnas/movies /mnt/movies -o user=nixit

I am prompted for my password and all works.

I even tried putting the mount command in my fstab file, with my username/pw in a credential file, I don't get any errors, but the folders are not mounted.

--nixIT

Last edited by nixIT (2012-11-30 23:46:22)


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

Board footer

Powered by FluxBB