- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot add new users.
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
09-19-2001 09:09 AM
09-19-2001 09:09 AM
Cannot add new users.
Unfortunately useradd gives me the error: /etc/passwd file does not exist.
The passwd file looks OK to me. Does anyone have any ideas how I can get useradd to work? Is there anything else I can try?
Many thanks, Carol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 09:17 AM
09-19-2001 09:17 AM
Re: Cannot add new users.
check for your /etc/nsswitch.conf.If passwd and group is compat change it to files.
Hope this may help
GK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 09:23 AM
09-19-2001 09:23 AM
Re: Cannot add new users.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xdcb814a24fd1d4118fef0090279cd0f9,00.html
But, as mentioned, I believe you will first need to un-trust the system, before you can use useradd.
Hope this helps....
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 09:26 AM
09-19-2001 09:26 AM
Re: Cannot add new users.
How about if you add user by editing the /etc/passwd file.
Remember if you have last line like
+::-2:-2:::
on /etc/passwd file then add new username above that line.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 12:34 AM
09-20-2001 12:34 AM
Re: Cannot add new users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 12:59 AM
09-20-2001 12:59 AM
Re: Cannot add new users.
You can check the integrity of "/etc/passwd" file by typing the command
#pwck
This will report if any inconsistencies are there with the contents of the file
then check the "/etc/group" file also by using the command
#grpck
Hope this helps a bit...
Cheers !!!
MAthew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 01:12 AM
09-20-2001 01:12 AM
Re: Cannot add new users.
One thing I would like to suggest is to run
the 'pwck' program to check the contents of
your password file before you do anything.
Fix the problems that are reported before
trying to continue by using 'vipw'.
You could use the 'useradd' command from the
command line or use 'vipw' to lock and edit
the password file directly and then create
the necessary home directory. When using the
user add program just run 'useradd' with no
options and it will show you the options that
you will need and you can see right above
where you are typing in the options. Works
for me.
HTH
-Michael