Cloudflashes’s Weblog

Here is the sky to fly

QA – Useradd: unable to lock password file

Posted by cloudflashes on October 27, 2008

Q:

Under Red Hat Linux release 9, use root to add a user, get error message as below:

useradd: unable to lock password file

A:

Needed to remove a lock file

Under the /etc directory, there are some lock files as:
group.lock
gshadow.lock
passwd.lock
shadow.lock

or
.pwck.lock
.pwd.lock

Remove them.

Posted in Linux admin | Tagged: | Leave a Comment »

Hello world!

Posted by cloudflashes on October 15, 2008

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.