LinuxQuestions.org
Visit Jeremy's Blog.
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, 10: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, 10:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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 09:06 AM
fstab permissions sall Linux - General 3 08-07-2005 12:57 PM
Stuck in 640, how can I change my monitor type? ChevyBoy Linux - Newbie 1 08-14-2004 11:30 PM
/etc/fstab and permissions jeff1500 Slackware 7 03-27-2004 08:15 PM
Permissions and fstab help The SIN Raven Slackware 18 11-21-2003 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 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
Open Source Consulting | Domain Registration