- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to add user id
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
01-10-2002 03:59 AM
01-10-2002 03:59 AM
I have a user that previously belonged on one of our systems. I have a feeling that when the user was last removed the -r option wasn't specified with the userdel command.
I have checked the system and can see no files that belong to the user.There details are not in /etc/passwd
When attempting to add, i get the message
useradd K462LTE
chown: unknown user id K462LTE
Cannot modify home directory
If i try to remove the user i get
userdel -r K462LTE
Login 'K462LTE' does not exist
Can anyone help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:02 AM
01-10-2002 04:02 AM
Re: Unable to add user id
Is this user then in the /etc/passwd file?
If not then useradd has failed:
Please run:
useradd K462LTE
cat /etc/passwd | grep K462LTE
And please let us know the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:06 AM
01-10-2002 04:06 AM
Re: Unable to add user id
What OS levle are you on?
For HP-UX 10.20 patch PHCO_18925
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:13 AM
01-10-2002 04:13 AM
Re: Unable to add user id
The user id is not in /etc/passwd after
i run useradd
I do not have that patch
Will this cure the problem
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:18 AM
01-10-2002 04:18 AM
Re: Unable to add user id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:20 AM
01-10-2002 04:20 AM
Re: Unable to add user id
You can use useradd -o
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 04:22 AM
01-10-2002 04:22 AM
Re: Unable to add user id
- erroneously reports an error "Cannot creat home directory"
- useradd(1M) does not allow multiple users to share generic home directory. usermod(1M) reports "Can not modify home directory" when changing primary group of a user.
Amongst a lot of other things. I think it would be a good thing to install this.
Also check that the home directory for this user does NOT exist already, if so try to user a different home directory (useradd -d)
Also check that no filesystems are full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 05:19 AM
01-10-2002 05:19 AM
Re: Unable to add user id
I agree with Alan i'd check to see if there is allready a home directory for that uid and if there are any entries in /etc/passwd.
Do you work for a courier company by any chance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 05:56 AM
01-10-2002 05:56 AM
Re: Unable to add user id
Hello there George, yes i do. And do remember you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 06:19 AM
01-10-2002 06:19 AM
Re: Unable to add user id
I have found that the system is trusted, therefore putting another file in /tcb/files/auth/K, whoever removed the id didn't do it cleanly. This left the file in the directory and just removed the encrypted passwd
Cheers