- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't change password in sam
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
12-08-2003 07:55 AM
12-08-2003 07:55 AM
Can't change password in sam
Any ideas?
Thanks.
Karl Allen Swelling
Alabama Gas Corporation
an Energen company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 08:07 AM
12-08-2003 08:07 AM
Re: Can't change password in sam
Check what action it takes you click on modify users password.
Check with samlog_viewer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 08:09 AM
12-08-2003 08:09 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 08:16 AM
12-08-2003 08:16 AM
Re: Can't change password in sam
Are you using hpterm as the xwindow term type? If so, try checking the /usr/bin/X11/hpterm file. If this file is zero bytes, try coping one from another source and overwrite this one and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 09:48 AM
12-08-2003 09:48 AM
Re: Can't change password in sam
[/var/sam/log/samlog]
@!@8@1070915017@0
Exiting Task Manager with task UG_ICOUNT_GROUPS.
@!@8@1070915017@0
Exiting Task Manager with task UG_GET_OLE_USERS.
@!@2@1070915024@0
Executing the following command:\C/usr/bin/echo "Executing passwd(1) command
to set password for user kswellin";/usr/bin/passwd kswellin\C
@!@2@1070915024@0
Command completed with exit status 1.
In this example, I am trying to change kswellin's password, but it never happens. It does not display the other window.
Thanks.
-- Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:01 PM
12-08-2003 03:01 PM
Re: Can't change password in sam
Are you running the full SAM utility (while logged in as root) or is this sam session a restricted SAM session on a standard user?
If you are running restricted sam then there may be a permission issue updating the passwd file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:20 PM
12-08-2003 03:20 PM
Re: Can't change password in sam
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_27375&context=hpux:800:11:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 06:03 AM
12-09-2003 06:03 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 06:15 AM
12-09-2003 06:15 AM
Re: Can't change password in sam
(may be in /usr/sam/lbin/usermod.sam or something similar)
It takes password as argument.
/usr/sam/lbin/usermod.sam -F -p "" user_name
This will null-out the password for user, then try chaning it from SAM/commandline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 06:22 AM
12-09-2003 06:22 AM
Re: Can't change password in sam
Programmes do not normally just stop - check in samlog for the last time it worked and what has changed since then.
Try creating a new tempory root level user - log in as them and try a sam passwd change, remember to delete this temp root level user.
Check syslog.log for errors after trying a sam passwd change.
Use tusc and attach to the sam session and watch for errors.
What happens if you try this at the console?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 07:04 AM
12-09-2003 07:04 AM
Re: Can't change password in sam
So I ran "passwd kswellin" and was successful in changing my password. The reason I need to be able to use sam is that we have someone here who uses a restricted sam to change passwords. I really do not care that root cannot use sam to change passwords, but if we got it to work for root, it would probably start working for the restricted sam user.
Thanks.
--Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 07:21 AM
12-09-2003 07:21 AM
Re: Can't change password in sam
Post
passwd -l user_name
ll `which passwd` --> from working machine
ll `which passwd` --> from machine where you have a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 07:26 AM
12-09-2003 07:26 AM
Re: Can't change password in sam
Have you checked the integrity of the /etc/passwd file?
Run the check command
#pwck
If there's corruption in that file - any user's defined past it will have trouble as the file is scanned top-down.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 07:51 AM
12-09-2003 07:51 AM
Re: Can't change password in sam
Using Reflextions X logged in as root on my Windows desktop, the change password box does NOT display.
Using Reflextions X logged in as a restricted sam user on their Windows desktop, the change password box does NOT display.
Using GNOME logged in as root on my RHLinux9 laptop, the sam hpterm change password box does display.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 08:06 AM
12-09-2003 08:06 AM
Re: Can't change password in sam
How are you logging in via reflectionsX? Are you logging in via CDE (Common Desktop Environment) or are you using REFX as an x emulator and setting your display within a telnet window to your local windows ip?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 08:57 AM
12-09-2003 08:57 AM
Re: Can't change password in sam
Via my Red Hat Linux 9 laptop, I telnetted to the HP-UX box, set the DISPLAY, and started sam. The change password box will display on this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 09:03 AM
12-09-2003 09:03 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 09:27 AM
12-09-2003 09:27 AM
Re: Can't change password in sam
I need you to tell me what size the file hpterm is within the directory /usr/bin/X11. Just do an ll -al on /usr/bin/X11/hpterm and copy and paste the return within your reply. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 09:33 AM
12-09-2003 09:33 AM
Re: Can't change password in sam
-r-sr-sr-x 1 root sys 299008 Feb 25 2000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 09:48 AM
12-09-2003 09:48 AM
Re: Can't change password in sam
You said it worked up until a couple of weeks ago. Has anything changed on the server or within the environment they we might can pinpoint as a root cause. Also are you using NIS+ or DNS for name resolution within your network?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 10:03 AM
12-09-2003 10:03 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 03:20 AM
12-10-2003 03:20 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 03:25 AM
12-10-2003 03:25 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 04:05 AM
12-10-2003 04:05 AM
Re: Can't change password in sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 04:14 AM
12-10-2003 04:14 AM