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
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
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
тАО02-15-2001 04:42 AM
тАО02-15-2001 04:42 AM
passwd
If a user wants to change his password, he has to use "passwd username". "passwd" doesn't work, although the man pages say, it should work.
I'm running HPUX 10.20 without NIS.
What's going on there?
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 04:47 AM
тАО02-15-2001 04:47 AM
Re: passwd
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 04:48 AM
тАО02-15-2001 04:48 AM
Re: passwd
This might have something to do with real/effective uid.
Did the user login as himself? Or did he login and used 'su - hisusername'? This does make a difference for passwd.
Hope this helps,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 04:50 AM
тАО02-15-2001 04:50 AM
Re: passwd
'passwd' is trying to get the user's name, if not given on the command line' with the getlogin() system call.
getlogin(), in turn, tries to get the user's name from /etc/utmp.
The issue you're facing could be due to a corrupted /etc/utmp file.
In this thread, Andreas Voss provides a program source to fix /etc/utmp - Thanks Andreas !!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x98d7f841489fd4118fef0090279cd0f9,00.html
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 05:03 AM
тАО02-15-2001 05:03 AM
Re: passwd
The user doesn't use su.
How can I determine whether /etc/utmp is corrupted or not?
Just a remark, corrupted /etc/utmp files on several workstations, one of them is rebooted yesterday??
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 05:08 AM
тАО02-15-2001 05:08 AM
Re: passwd
I said 'could be...' ;-)
Check with 'who' as this one uses /etc/utmp
Regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 05:50 AM
тАО02-15-2001 05:50 AM
Re: passwd
Just a hunch. Is there any "passwd: " entry in your /etc/nsswitch.conf? If yes, what is stated?
If no, can you perform a "ll `which passwd`"?
Since the command "passwd" alone does not work, is there any error message when typed? What is the error message that you are getting?
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 07:10 AM
тАО02-15-2001 07:10 AM
Re: passwd
The correct /etc/utmp files are used.
I don't have a /etc/nsswitch.conf.
Error message: "Usage: passwd [ -F file ] [ name ]".
One more detail: If I do a remote login with ssh it works.
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 07:25 AM
тАО02-15-2001 07:25 AM
Re: passwd
Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 07:43 AM
тАО02-15-2001 07:43 AM
Re: passwd
What is the output if you're typing 'who' without argument ? With and without having someone logged in at the console. Is there any difference.
It really sounds like the /etc/utmp file is having a 'scrambled' entry for the console.
Dan
PS: If there aren't too many users logged in, you could ask everybody to log out and type 'cp /dev/null /etc/utmp' - This should fix your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2001 08:03 AM
тАО02-15-2001 08:03 AM
Re: passwd
xterm: "who" and "who -m" works as it should be.
dtterm: "who" -> kollig console Feb 12 10:19
"who -m" -> (nothing)
When I set back the /etc/utmp file and login and open a dtterm, then there is only on entry in /etc/utmp, something like kollig...dtconsole...
Thomas