- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem in setting the 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-06-2005 10:50 PM
04-06-2005 10:50 PM
Problem in setting the password.
HPUX 11iv2 with SSH installed
==============================
I am using putty software to connect to server using a SSH2 session. Now I am reseting the password of a user oracle using
#/usr/lbin/modprpw -x oracle
password=kjduirwe
I am using the above password to login with oracle next time. It prompts to change the password. I have a complex password policy, which includes special characters also.
Here When I am trying to set a password containing # or @ with 8 characters long. But I am getting the following error.
Password too short - must be at least 6 characters
I wonder why I am getting this error even after providing a password having 8 characters.
At the same time, I also observed that I can set the same password if I am logging in as root and try from the # prompt.
Any idea about this funny behaviour?
Thanks in Advance..
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 10:59 PM
04-06-2005 10:59 PM
Re: Problem in setting the password.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 11:19 PM
04-06-2005 11:19 PM
Re: Problem in setting the password.
I am able to set the special passwords from the root login. But why not during the first login time of the respective users. Any Idea?
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 02:09 AM
04-07-2005 02:09 AM
Re: Problem in setting the password.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 04:25 PM
04-07-2005 04:25 PM
Re: Problem in setting the password.
As I mentioned I am able to use # in passwords if I am changing the users passwords from the root login.
My requirement is , the user should be able to set his own password during his first login. This is not happening.
Any idea why this works in the root prompt and not during the login time.?
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:14 PM
04-07-2005 09:14 PM
Re: Problem in setting the password.
# stty -a
for root and normal users, you'llprobably find that the @ character is mapped differently between them. It may be set for eol for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:28 PM
04-07-2005 09:28 PM
Re: Problem in setting the password.
@ will actually erase out all previous inputs. for e.g. if you type "abcd@xyz" then it will only take xyz and not the entire string.
Becuase by default @ is used for kill. You can have a look at "stty -a" output to know what special characters are used and configured for.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:41 PM
04-07-2005 09:41 PM
Re: Problem in setting the password.
Thanks for your inputs.
Following is the stty -a output. Do I need to change any values? If yes how do I go about.
#stty -a
speed 38400 baud; line = 0;
rows = 44; columns = 125
min = 4; time = 0;
intr = ^C; quit = ^\; erase = DEL; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp
werase
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
#
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 10:32 PM
04-07-2005 10:32 PM
Re: Problem in setting the password.
$ stty ^@ ^K
Sets the eol to ^K. The '^' character is literal, you do noy use the 'Ctrl' key.
Regards,
rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 11:49 PM
04-07-2005 11:49 PM
Re: Problem in setting the password.
For changing kill and eol:
# stty kill
# stty eol ^A
This should work.
Regards,