Does it have anything wrong about password?


 
Thread Tools Search this Thread
Operating Systems HP-UX Does it have anything wrong about password?
# 1  
Old 11-19-2007
Does it have anything wrong about password?

My HP-UX 11.11 in trusted system.

When we use password that have "#"(Ex. aRmnaja#99) it can login only via ssh but can not by telnet yet. But if it doesn't have "#" I can logon via both ssh and telnet.

Have any thing wrong ? (It's a bug of HP-UX server ??)
Anyone have this problem same me ?
(if you don't know, you can try it.)


Thanks,
aRm_nAjaSmilie
# 2  
Old 11-19-2007
From my humble experience ... here I go & stick my neck out SmilieSmilie

You can have the '#' symbol as part of a password, but when entering it you need you type '\#' to avoid it being treated as a metacharacter (All - Please correct me if I'm wrong with my explaination here).

So if your password is "aRmnaja#99", you may need to actually type in "aRmnaja\#99".

Hope that helps. Smilie
# 3  
Old 11-19-2007
I searched the HP-UX forum looking for "password character" and look what popped up: cannot telnet HP-UX with NIS account
# 4  
Old 11-22-2007
Perderabo, not withstanding the link you provided.
Was my reply correct in any way ?

Cheers,
Cameron
# 5  
Old 11-25-2007
Quote:
Originally Posted by Cameron
From my humble experience ... here I go & stick my neck out SmilieSmilie

You can have the '#' symbol as part of a password, but when entering it you need you type '\#' to avoid it being treated as a metacharacter (All - Please correct me if I'm wrong with my explaination here).

So if your password is "aRmnaja#99", you may need to actually type in "aRmnaja\#99".

Hope that helps. Smilie
I test more for anyone to know ^_^
When I test login (not su) If my password is "aRmnaja#99"

My HP-UX 11.11
by telnet works for "aRmnaja\#99" only
by ssh works for "aRmnaja#99" only
My SUN Solaris 8
by telnet works for both "aRmnaja\#99" and "aRmnaja#99"
by ssh works for both "aRmnaja\#99" and "aRmnaja#99"

Anyone comment ?
aRm_nAja

Last edited by arm_naja; 11-25-2007 at 01:42 PM..
# 6  
Old 11-26-2007
If your password is a#b and you type a\#b or a#b different things happens because different programs read the password string and different programmers had different ideas about how to handle it. But when the HP-UX program called "login" is the program reading the password, and the kernel is configured the way HP supplies it, you are guaranteed to be unable to use a password containing # or @.

To distill that link down, on HP-UX, do not use # or @ in your password. If you violate this rule, sometimes you will not be able to enter your password.

With recent versions of HP-UX, a system administrator who understands the info I linked can reconfigure the tty driver to alter this behavior. But most people don't do this. If you write a start-up script to change the behavior and then use # or @ in root's password, root cannot login until after the script runs.
# 7  
Old 11-26-2007
Thanks for the explaination Perderabo.

Cheers,
Cameron.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. Shell Programming and Scripting

SFTP prompting for password even though password is in script

Hi All, I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup. I am working on Solaris 10. Here is the code. #!/bin/ksh # sample automatic Sftp script to dump a file USER="user1" PASSWORD="pass1" HOST="host1" sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies

3. Shell Programming and Scripting

Why result is wrong here ? whether break statement is wrong ?

Hi ! all I am just trying to check range in my datafile pls tell me why its resulting wrong admin@IEEE:~/Desktop$ cat test.txt 0 28.4 5 28.4 10 28.4 15 28.5 20 28.5 25 28.6 30 28.6 35 28.7 40 28.7 45 28.7 50 28.8 55 28.8 60 28.8 65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

4. UNIX for Dummies Questions & Answers

password protect a CSV file: better solution than ZIP password?

Hi We send *.csv with sensitive data to our customers. Our customers open those files with Excel. A new requirement is that we password protect those CSV files. I thought to pack them with ZIP and assign a password to the archive. But Solaris 10 can't encrypt ZIP files. $ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies

5. OS X (Apple)

OSX asks password but i don't use a password!!

When i try to install some software OSX asks for a password but i don't use a password at all. Somebody knows a answer please??? asta (4 Replies)
Discussion started by: astapopulos
4 Replies

6. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

7. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

8. UNIX for Advanced & Expert Users

password verification verify password of a user for only first 8 characters

Helo , I m using linux pam library for user and its password authentication. I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me $ su - ram Password: You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies

9. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
Login or Register to Ask a Question