I want to mount using gfvs-mount samba remote server with password-protected, so I do:
gfvs-mount smb://ip/share
but I need to insert everytime username, I'd like avoid username but have only prompted password
I want to mount using gfvs-mount samba remote server with password-protected, so I do:
gfvs-mount smb://ip/share
but I need to insert everytime username, I'd like avoid username but have only prompted password
You can do this:
only password will be prompted
to show mounted share
I am using the same solution as watchmansky but removed the IP\; part:
I would create a credentials file for the user in the home directory:
And then add a 'gvfs-mount' command to my .profile script for each share for gvfs to mount, giving it the credentials we saved earlier:
The benefit is you can just change the password in the .gvfs_credentials file.
The bad side is that the password is saved as unencrypted plaintext.
Hope this helps someone :)