HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- usermod not updating /etc/passwd
Operating System - HP-UX
1830079
Members
1881
Online
109998
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
09-10-2002 10:05 PM
09-10-2002 10:05 PM
usermod not updating /etc/passwd
I am executing the following commands:
#/usr/bin/usermod -d /data/userA -l userA userB
#/usr/sam/lbin/usermod.sam -S /etc/passwd -p 2cDrpz8Xelew6 userA
The First command says
Login userA is not unique.
Second Command says
Login userA does not exist.
/etc/passwd has no entries for userA.
Why it is saying userA is not unique ?
Thanks
Aravind
#/usr/bin/usermod -d /data/userA -l userA userB
#/usr/sam/lbin/usermod.sam -S /etc/passwd -p 2cDrpz8Xelew6 userA
The First command says
Login userA is not unique.
Second Command says
Login userA does not exist.
/etc/passwd has no entries for userA.
Why it is saying userA is not unique ?
Thanks
Aravind
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 11:32 AM
09-11-2002 11:32 AM
Re: usermod not updating /etc/passwd
I'm pretty sure usermod requires that userA already exists. If there is no entry in /etc/passwd for userA, then you are likely getting the error because of that.
The error message is fairly cryptic.
Hope this helps.
The error message is fairly cryptic.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 12:09 PM
09-11-2002 12:09 PM
Re: usermod not updating /etc/passwd
The first message is because
userA is already defined in /etc/passwd
Is this a trusted machine??
And you MUST be running 10.20, because in the new world order (11i) usermod.sam GOES AWAY (well, is really a symbolic link to /usr/sbin/usermod!)
live free or die
harry
userA is already defined in /etc/passwd
Is this a trusted machine??
And you MUST be running 10.20, because in the new world order (11i) usermod.sam GOES AWAY (well, is really a symbolic link to /usr/sbin/usermod!)
live free or die
harry
Live Free or Die
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP