LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-14-2011, 11:17 AM   #1
rayfinkle
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Rep: Reputation: Disabled
Can I change the permissions of /etc/fstab to 640?


Hello.

I have a username/password combination that's in the fstab to mount a CIFS share. Can I change the permissions of /etc/fstab to 640 without violating the integrity of my system?

Thanks in advance.

Ray
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-14-2011, 11:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
no, you can't do this, look at the "credentials" option for mount.cifs instead.
 
2 members found this post helpful.
  


Reply

Tags
fstab


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
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 10:06 AM
fstab permissions sall Linux - General 3 08-07-2005 01:57 PM
Stuck in 640, how can I change my monitor type? ChevyBoy Linux - Newbie 1 08-15-2004 12:30 AM
/etc/fstab and permissions jeff1500 Slackware 7 03-27-2004 09:15 PM
Permissions and fstab help The SIN Raven Slackware 18 11-21-2003 06:54 PM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration