Friday, April 17, 2015

Looking for a way to mount cifs shares on centos 6 with multiple users

We have a CIFS share on our network. I have a centos 6.3 server in which I want to map the share.
The problem is that when mounting it in /etc/fstab I have to set which user (and password) to use.

The problem is that the linux server has many users. I would like the local user to be used when interacting with the share (so the permissions for the share are the same as the user's instead of one for all).
Furthermore, I do not want to save the password in plaintext (even the credentials file is plain text even if the permissions are limiting).
Is there a solution for this?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...