Kada FS postane odjednom RO a passwd fajl se zaključa
Ilitije kada file system postane read only :
Treba da otvorim novi nalog, kad ono :
# useradd -s /bin/bash korisnik4
useradd: unable to lock password file
To se lako rešava, obriše se lock fajl (group.lock, gshadow.lock, passwd.lock, shadow.lock, .pwck.lock, .pwd.lock), ali međutim :
# rm -rf .pwd.lock
rm: cannot remove `.pwd.lock’: Read-only file system
Cvrc!
# mount -o remount,rw ‘/’
mount: block device /dev/sda2 is write-protected, mounting read-only
Ni to ne deluje.
Proverim kako je FS mountovan :
# mount
/dev/sda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda3 on /home type ext3 (rw)
/dev/sda5 on /var/log type ext3 (rw)
Tu je sve OK.
Dakle na kraju sam morala da restartujem ceo server…..