LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-07-2006, 12:28 AM   #1
scbops
Member
 
Registered: Feb 2006
Posts: 97

Rep: Reputation: 15
Permission Problem


/etc/shadow has the following permission
-r-------- 1 root root 1805 Dec 7 10:47 /etc/shadow

how come when root change his password it wiriten to this file which has no write permission ?
 
Old 12-07-2006, 01:18 AM   #2
Fadoksi
Member
 
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88

Rep: Reputation: 15
Well, you can add the write permission.

chmod +rw /etc/shadow
 
Old 12-07-2006, 01:39 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
In Ubuntu Edgy the permissions look like this:
Code:
-rw-r----- 1 root shadow 996 2006-11-23 17:26 /etc/shadow
 
  


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
Samba sharing problem (user permission problem) beikokutn Linux - Software 4 03-11-2008 06:55 AM
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 11:23 AM
Permission Problem Hero Doug Fedora 2 09-12-2005 02:41 AM
permission problem.. bit7 Linux - Software 4 02-26-2003 06:08 AM
permission problem trusouthrnplaya Linux - General 2 04-16-2002 01:05 AM


All times are GMT -5. The time now is 11:58 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