- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- useradd returns Internal Error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
02-23-2004 05:09 AM
02-23-2004 05:09 AM
I returned today to create a couple of new users, and when I try to create them from sam or from the command line, useradd (or useradd.sam) tells me Internal Error.
The perms on the file are:
-r-xr-xr-x 1 bin bin 53248 Dec 14 1999 /usr/sbin/useradd
I've searched the archives and haven't seen anyone with the same problem.
I can manually add an entry to /etc/passwd and it works, but that's not really my idea of fun...
Can anyone help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:25 AM
02-23-2004 05:25 AM
Re: useradd returns Internal Error
Verify that you don't have a corrupt passwd file - run
pwck
or a corrupt group file - run
grpck
or a corrupt tcb entry - run
authck
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:34 AM
02-23-2004 05:34 AM
Re: useradd returns Internal Error
I ran pwck and grpck without any problems (a couple of accounts w/o home directories, but...)
My box isn't a trusted system, so the authck doesn't do anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:41 AM
02-23-2004 05:41 AM
SolutionLooks like your useradd defaults file may be having issues. Look at cat /etc/default/useradd. Rename it and copy a good one from /usr/newconfig/etc/default/useradd and try. If it works, then you may have to customize it as per your pervious configuration. Also make sure you have a file called /etc/.pwd.lock and there is none called /etc/ptmp. Editing /etc/passwd with 'vi' is not to be done. You will need to use vipw command if at all you want to add the logins. One of the above may work for you.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:51 AM
02-23-2004 05:51 AM
Re: useradd returns Internal Error
Thank you! The useradd default file was corrupt. Recreating it worked perfectly!