HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Issue with "usermod" changing password or adding g...
Operating System - HP-UX
1827293
Members
3440
Online
109717
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
10-15-2004 03:02 AM
10-15-2004 03:02 AM
Issue with "usermod" changing password or adding groups...
Hello -
We are running in an 11.11 environment and when we try to change an password or add a group for a user when they are not actually logged onto the server, but they have processes running, "usermod" complains that the user is currently in use and does not make the change/additions. Is there a way to force "usermod" to perform these actions regardless if the user is logged on or has processes running?
We know we can hack the "tcb" DB file or run "passwd" and edit /etc/group on the target server, but we are trying to automate administrative tasks centrally and "usermod" (via remsh), seemed the way to go.
Thanks!
Chris
We are running in an 11.11 environment and when we try to change an password or add a group for a user when they are not actually logged onto the server, but they have processes running, "usermod" complains that the user is currently in use and does not make the change/additions. Is there a way to force "usermod" to perform these actions regardless if the user is logged on or has processes running?
We know we can hack the "tcb" DB file or run "passwd" and edit /etc/group on the target server, but we are trying to automate administrative tasks centrally and "usermod" (via remsh), seemed the way to go.
Thanks!
Chris
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:21 AM
10-15-2004 03:21 AM
Re: Issue with "usermod" changing password or adding groups...
Hi Chris,
If the user is already logged in (or have a process running), then altering the user can affect the processes except for the 'password'. But in general user is expected to change his/her password. So, that's why I assume why this behaviour has been applied for 'usermod' command.
I am not aware of any way to force the change using 'usermod' command. You already know the other way.
-Sri
If the user is already logged in (or have a process running), then altering the user can affect the processes except for the 'password'. But in general user is expected to change his/her password. So, that's why I assume why this behaviour has been applied for 'usermod' command.
I am not aware of any way to force the change using 'usermod' command. You already know the other way.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:41 AM
10-15-2004 03:41 AM
Re: Issue with "usermod" changing password or adding groups...
I doubt you can do a forceful usermod.
Safeway I guess is to stop the process initiated by the user and do the changes.
-USA..
Safeway I guess is to stop the process initiated by the user and do the changes.
-USA..
Good Luck..
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP