- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing Password
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
Forums
Discussions
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
04-16-2006 12:53 AM
04-16-2006 12:53 AM
Changing Password
coz i want oracle user name have the same password oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 01:29 AM
04-16-2006 01:29 AM
Re: Changing Password
Set the password as the root user.
As bad as this is, the root user can do this.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 02:27 AM
04-16-2006 02:27 AM
Re: Changing Password
username: oracle
password: oracle
i tey to do it from root user but it not accepted, how i can force it to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 02:44 AM
04-16-2006 02:44 AM
Re: Changing Password
AFAIK, HPUX itself does not permit to set passwors from a script, like LINUX, but you can use a language called EXPECT http://expect.nist.gov .
As a workaround you can set requested password interactively, remember it and insert the encrypted password into /etc/passwd file. This is not beatiful, not secure, but works.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 02:48 AM
04-16-2006 02:48 AM
Re: Changing Password
As noted, setting the password of an account to the same character string as the account name doesn't provide good security.
However, to do this, login as root and type:
# passwd oracle
[ when prompted for the password, type "oracle" ]
You will be asked to specify it again, so do so.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 03:40 AM
04-16-2006 03:40 AM
Re: Changing Password
My systems are down for maintenance right now or I would check the man page to see the difference, if there is one.
As James/Steve mentioned though, it is not good practice. Especially having the user/pass the same.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 10:19 AM
04-16-2006 10:19 AM
Re: Changing Password
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 10:30 AM
04-16-2006 10:30 AM
Re: Changing Password
Depending on security level and configurations, root may be responsible for changing or setting the passwds.
In this case, oracle has 5 characters and no numerics. If there are security policies in place, only root can invoke the changes you request.
Last thing, very bad idea to have passwd same as acct name. This is often called a "joe" account This is something that is tried 1st when seeking unauthorized access to a system. As stated, avoid "joe" accts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2006 05:22 PM
04-16-2006 05:22 PM