- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Execute usermod command via remsh on HP UX
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
11-22-2011 04:25 AM
11-22-2011 04:25 AM
Execute usermod command via remsh on HP UX
Hi Experts,
I tried to execute the remsh command via remsh, it got failed. I am able to execute commands, bdf, cat.. via remsh.
Here I am attaching the command details I used and the error messages. Kindly let me know whether usermod will support with remsh on hp ux. current os version is 11.31 and trying to execute on different flavors.
for i in `cat wkh`
do
print "doing $i"
remsh $i /usr/sbin/usermod-c "Wajid Khan, Genpact SAP Basis Team" wkhan
done
------------------------------------------------------------
Error
====
# ./id
doing lccdb042
User name must be specified
Usage: usermod.sam [-p <passwd> [-u <uid> [-o]] [-g <group> [-G <group>[,<group...> [-d <dir> [-m]] [-s <shell>] [-c <comment>] [-f <inactive>] [-e <expire>] [-l <new logname>] <login>
and tried with /usr/sam/lbin/usermod.sam combination also, probing same result.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2011 09:53 AM
11-22-2011 09:53 AM
Re: Execute usermod command via remsh on HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2011 11:21 AM
11-22-2011 11:21 AM
Re: Execute usermod command via remsh on HP UX
Hi,
Thanks for extreme support. I have executed the command with with help of single quote. It was success.