vikas027 |
11-12-2008 12:35 AM |
remount partition as rw
Hi all,
I am trying to reset a password of a user but that is giving me error.
Code:
[root@RHEL4 /]# passwd vikas
Changing password for user vikas.
New UNIX password:
Retype new UNIX password:
passwd: Authentication token lock busy
I even tried vipw
Code:
[root@RHEL4 /]# vipw
vipw: /etc/ptmptmp: Read-only file system
Code:
[root@RHEL4 /]# touch abc
touch: cannot touch `abc': Read-only file system
I tried remounting (forcefully too) with rw but all in vain.
Code:
[root@RHEL4 /]# mount -o remount,rw /
mount: block device /dev/sda3 is write-protected, mounting read-only
[root@RHEL4 /]#
[root@RHEL4 /]# mount -o remount,rw / -force
[root@RHEL4 /]# echo $?
0
This is a production server, I can not come into single user mode.
Can anyone help me with this ?
PLEASE HELP ME OUT.
Regards,
VIKAS
|