- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Lookig for Tru64 equivalent of a command in HPUX
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
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
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
тАО05-24-2004 09:59 AM
тАО05-24-2004 09:59 AM
Lookig for Tru64 equivalent of a command in HPUX
/usr/sam/lbin/usermod.sam -p "Dx3zsaXO3q22." username
It is sort of an obscure command with no documentation, but it is there and it works,
which effectively sets the password without having to know what the clear text form of the password is.
I am wondering if such a command/script is available for Tru64 as well ? I am also interested in finding this for solaris but not as important as Tru64 at the moment.
The catch is, it needs to run on both trusted and untrusted systems.
Thanks in advance.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 10:17 AM
тАО05-24-2004 10:17 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
Use passwd (official) or a grep/sed script (unsupported) to change the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 10:33 AM
тАО05-24-2004 10:33 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
and there is also the vipw command. :-)
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 05:18 AM
тАО05-25-2004 05:18 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
Ann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 06:03 AM
тАО04-04-2005 06:03 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
There is also an undocumented way on Tru64
although it uses the clear text password:
usermod -p user
New password:
Retype new passwd:
so it's simple to script this and that's
what some of the account management tools
use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 09:05 AM
тАО04-04-2005 09:05 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
In the test i did to verify this, I use perl as the editor, but sed or vi or awk or edit can be used of course.
> grep hein /etc/passwd
hein:A2vaDBJeW8Xrg:203:15:Hein van den Heuvel:/hein:/bin/ksh
> passwd hein
Changing password for hein.
New password:
Retype new password:
root at kelrin> grep hein /etc/passwd
hein:PMqdrIlnFLWA2:203:15:Hein van den Heuvel:/hein:/bin/ksh
>perl -i -p -e 's/^hein:\w+:/hein:A2vaDBJeW8Xrg:/' /etc/passwd
>mkpasswd /etc/passwd
27 password entries (longest entry is 87 bytes long)
root at kelrin> rlogin -l hein 0 ....
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 09:47 AM
тАО04-04-2005 09:47 AM
Re: Lookig for Tru64 equivalent of a command in HPUX
The usermod -p way should work for both
for C2 and base security (not that it would
be incredibly harder to extend your
perl for C2).