/etc/passwd read only | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

/etc/passwd read only

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-30-2012
Rajesh_Apple Rajesh_Apple is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 30 June 2014, 7:33 AM EDT
Posts: 47
Thanks: 3
Thanked 1 Time in 1 Post
/etc/passwd read only

HI Team,

am getting below error kindly look and give me solution...


Code:
[root@usr ~]# passwd -u oracle
Unlocking password for user oracle.
passwd: Error 179 - error creating `/etc/passwd-': Read-only file system.
passwd: Error (password not set?)
[root@usr ~]#


Last edited by Scott; 12-01-2012 at 08:07 AM.. Reason: Code tags, please...
Sponsored Links
    #2  
Old 11-30-2012
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 1 August 2014, 9:58 PM EDT
Location: NM
Posts: 10,160
Thanks: 269
Thanked 782 Times in 732 Posts
Sounds like you booted from a CD. Are you trying to repair the system disk?
Sponsored Links
    #3  
Old 11-30-2012
Rajesh_Apple Rajesh_Apple is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 30 June 2014, 7:33 AM EDT
Posts: 47
Thanks: 3
Thanked 1 Time in 1 Post
HI Jim,

we didn't repair...what rebooted system..
    #4  
Old 12-01-2012
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 1 August 2014, 9:58 PM EDT
Location: NM
Posts: 10,160
Thanks: 269
Thanked 782 Times in 732 Posts
Try:

Code:
mount -o remount, rw X /

in place of X specify the disk label, like

Code:
/dev/hda5

Sponsored Links
    #5  
Old 12-03-2012
Rajesh_Apple Rajesh_Apple is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 30 June 2014, 7:33 AM EDT
Posts: 47
Thanks: 3
Thanked 1 Time in 1 Post
Still not reslove the issue..any other solution for this..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? Anne Neville AIX 1 03-09-2012 08:05 PM
When reading a csv file, counter to read 20 lines and wait for minute then read next 20 till end victor.s UNIX for Dummies Questions & Answers 3 11-09-2011 09:41 AM
passwd cmd reenables passwd aging in shadow entry BG_JrAdmin Solaris 3 01-04-2011 03:28 PM
How do I read username and lastupdate attribute values from /etc/security/passwd me_haroon AIX 3 07-01-2006 07:10 AM
I want to read username and lastupdate only from /etc/security/passwd and write the s me_haroon AIX 0 07-01-2006 04:16 AM



All times are GMT -4. The time now is 10:26 PM.