- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- unable to create the user in hp-ux
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2015 08:40 AM
07-02-2015 08:40 AM
unable to create the user in hp-ux
i am unable to cretae the user acount ,, it gives error----
#useradd -u 140 -m -d /home/rajesh rajesh
"Loing name not unique"
i was checked in /etc/passwd file , but in this file rajesh user name not available. but i am still facing the issue.
finally i was checked in /etc/shadown file, in this file the rajesh user name exsists, how to remove the rajesh user account name in shadow file.
Plesae share the safe methold to remove the name in /etc/shadown file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2015 09:48 AM
07-02-2015 09:48 AM
Re: unable to create the user in HP-UX
Have you tried using userdel(1m) first?
Otherwise use vipw(1m) to copy that entry from /etc/shadow to /etc/passwd, then use userdel(1m), then try adding.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2015 12:15 PM
07-02-2015 12:15 PM
Re: unable to create the user in hp-ux
Could you please share the procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2015 07:12 PM
07-02-2015 07:12 PM
Re: unable to create the user in HP-UX
>Could you please share the procedure?
I thought I did. Did userdel(1m) work?
If it fails because of the missing entry in /etc/passwd, you need to create one using vipw(1m).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-03-2015 12:55 PM
07-03-2015 12:55 PM
Re: unable to create the user in HP-UX
hi,
one more information,, this rajesh is root equvalent id. so rajesh user id is 0. so we cannot directlry delete this account.
kindly confirm for editing shardow file, please find the below procedure .
1.backup the file /etc/passwd, /etc/group ,/etc/shadow ,/etc/gshadow
2. vipw -s --remove the name rajesh in the shadow file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-04-2015 03:34 AM
07-04-2015 03:34 AM
Re: unable to create the user in HP-UX
>rajesh is root equivalent id. so rajesh user id is 0. so we cannot directly delete this account.
I see nothing in userdel(1m) that deletes the files by default.
>2. vipw -s -remove the name rajesh in the shadow file
vipw(1m) only works on passwd(4).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-04-2015 11:56 AM
07-04-2015 11:56 AM
Re: unable to create the user in HP-UX
->vipw(1m) only works on passwd(4).
it means we can only delete passwd file ,, so then how to remove the entry in shadow file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-05-2015 03:04 AM
07-05-2015 03:04 AM
Re: unable to create the user in HP-UX
>it means we can only delete passwd file
But you can add to passwd(4).
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP