LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Not accepting the encryped file in fstab to mount win.. share through cifs (https://www.linuxquestions.org/questions/linux-networking-3/not-accepting-the-encryped-file-in-fstab-to-mount-win-share-through-cifs-816083/)

raju.muppana 06-24-2010 04:01 AM

Not accepting the encryped file in fstab to mount win.. share through cifs
 
Hi..
I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting........
Any one please tell me how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.

smoker 06-24-2010 10:21 PM

You don't need to encrypt your credentials file.
chmod it 600 then no other users can read it.

raju.muppana 06-25-2010 10:52 AM

Let me tell u one thing,all linux users in my office are using local user accounts and they know root password.My worry is anyone can open others system with root password and he can change the permission again to see the credentials.
I want to set like the file should ask for key even for root user..............
Thanks for your reply

smoker 06-25-2010 10:58 AM

IMHO, that's a sad state of affairs. Who is supposed to be root ? You ?
If so, change the password ! Or better still, remove all the other users from the wheel group and change the password.
Too many cooks spoil the broth - which means you have a big mess in the making if nobody is responsible for the system as a whole.

But it's up to you I guess.


All times are GMT -5. The time now is 09:56 AM.