My Profile

Keep Up to Date:
Blog RSS
Blog
Forum RSS
Forum
Post New Topic Post Reply
Posted 3 Months ago
sorrsuki
Senior Boarder
Posts: 74
graphgraph
User Offline
 
I encountered this error 'cannot open password' whenever I tried to use command like useradd, adduser, pwck etc, anything that touches /etc/passwd (or /etc/shadow). I checked the /etc dir and could't find any lock files. Anybody has idea what could be the likely cause? Could it be caused by security tighening done by my predecessor? Basically I can't add/del user nor change any password.
The administrator has disabled public write access.
Posted 3 Months ago
sophia8
Senior Boarder
Posts: 66
graphgraph
User Offline
 
: (or /etc/shadow). I checked the /etc dir and could't find any lock files. : Anybody has idea what could be the likely cause? Could it be caused by : security tighening done by my predecessor? Basically I can't add/del user : nor change any password.

Odds are your passwd file (/etc/passwd) is set to read-only permissions. Try setting write permission first.
The administrator has disabled public write access.
Posted 3 Months ago
Terrajohnson
Senior Boarder
Posts: 72
graphgraph
User Offline
 
Possibly 'chattr' causing it?
The administrator has disabled public write access.
 
Copyright © 2006 - Dec 2008 My Linux Gang