- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: invalid login name during passwd reset
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
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
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
12-02-2007 07:54 PM
12-02-2007 07:54 PM
invalid login name during passwd reset
iam geeting error in valid login name during passwd reset to any user .
iam able to create new user,
but not able to set passwd to the user.
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2007 08:46 PM
12-02-2007 08:46 PM
Re: invalid login name during passwd reset
What command you are using??
use "passwd username" as a root user.
Shree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2007 08:52 PM
12-02-2007 08:52 PM
Re: invalid login name during passwd reset
yes as root user : passwd root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:25 AM
12-03-2007 12:25 AM
Re: invalid login name during passwd reset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:28 AM
12-03-2007 12:28 AM
Re: invalid login name during passwd reset
Does it mean that you are logged in as a root and trying to change password for root i.e. your account using above command???
If you are changing password of account you are logged in then there is no need to supply user name.
In simple way you are root and want to change root password then use :
#passwd
To change password of other users while you logged in as a root use :
#passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:32 AM
12-03-2007 12:32 AM
Re: invalid login name during passwd reset
#pwck
is the command to check integrity of /etc/passwd file. Their could be a problem with consistency of that file so that new edition to it throwing error. You can also restore this one from recent backup media.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:34 AM
12-03-2007 12:34 AM
Re: invalid login name during passwd reset
don't use "passwd root"
for other users use "passwd username"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:37 AM
12-03-2007 12:37 AM
Re: invalid login name during passwd reset
i have root acess , when iam changing the passwd of root or any other users (lower level) iam getting invalid login name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2011 09:40 AM
08-07-2011 09:40 AM
Re: invalid login name during passwd reset
Hi,
I too had the same problem.
Nothing helped. So i had to collect the details of user-id, del the user-id and re-create as per old details
# id user_name
# finger user_name
# userdel user_name
# useradd user_name
# vi /etc/passwd /* edit the group/home_dir/shell if required */
# passwd user_name --> now this will allow you to change the passwd.
Hope this helps, to who ever visits this place.
Regards,
Druva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2011 12:14 PM
08-07-2011 12:14 PM
Re: invalid login name during passwd reset
>when I am changing the passwd of root or any other users
If these are NIS users, even root can't change these. You must do this on the NIS server.