LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2010, 05:01 AM   #1
raju.muppana
LQ Newbie
 
Registered: Feb 2010
Location: Hyderabad
Distribution: fedora 8
Posts: 16

Rep: Reputation: 0
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.
 
Old 06-24-2010, 11:21 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You don't need to encrypt your credentials file.
chmod it 600 then no other users can read it.
 
Old 06-25-2010, 11:52 AM   #3
raju.muppana
LQ Newbie
 
Registered: Feb 2010
Location: Hyderabad
Distribution: fedora 8
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 06-25-2010, 11:58 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cifs mount in fstab help nitrohuffer2001 Linux - Software 1 04-22-2007 06:09 PM
Mounting windows share via cifs (fstab entry) - error 13 opening credentials file O(V)eGA_l2el) Linux - Networking 2 12-05-2006 12:22 PM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 09:00 AM
fstab doesn't mount win share on bootup aldar Slackware 2 12-14-2005 09:15 PM
Win share will not auto mount, inclu in Fstab ZingSter SUSE / openSUSE 4 04-06-2005 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration