- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- problems in creating new users
Operating System - Linux
1753464
Members
4561
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 06:12 AM
тАО06-17-2009 06:12 AM
I am trying to create new users using useradd command but having the following error:
useradd cannot lock shadow password file
We are using RED HAt Entrerprise 4.
useradd cannot lock shadow password file
We are using RED HAt Entrerprise 4.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:11 AM
тАО06-17-2009 08:11 AM
Solution
Shalom,
There may be a vi or other hung hession on the file.
Best bet is to look at the process list, kill the process and try again.
It could be a hung useradd command. Could also be no space on the root file system.
A reboot will also fix the problem. Clumsily.
SEP
There may be a vi or other hung hession on the file.
Best bet is to look at the process list, kill the process and try again.
It could be a hung useradd command. Could also be no space on the root file system.
A reboot will also fix the problem. Clumsily.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:45 AM
тАО06-17-2009 08:45 AM
Re: problems in creating new users
Check if you have the /etc/passwd.lock file. Verify it's contents.
How many users (lines) do you have in the /etc/passwd file?
How many users (lines) do you have in the /etc/passwd file?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 07:10 PM
тАО06-17-2009 07:10 PM
Re: problems in creating new users
Hi,
Using fuser command you can find any attached process to your shadow file.
you can refer to the man page for fuser to get an idea about how can this fuser command can help you to solve your problem.
Good Luck...!
Using fuser command you can find any attached process to your shadow file.
you can refer to the man page for fuser to get an idea about how can this fuser command can help you to solve your problem.
Good Luck...!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP