Why unix passwd are hidden when while login


 
Thread Tools Search this Thread
Operating Systems Solaris Why unix passwd are hidden when while login
# 1  
Old 07-13-2012
Why unix passwd are hidden when while login

Hi,

I might be stupid here to ask such question but I was just curious on ssh login to unix boxes (solaris).

When we login to unix box, it asks for password, but while typing the password, the password characters (like asterik or anything) seems hidden.

why it is so?


Thanks
# 2  
Old 07-13-2012
So the evil person looking over your shoulder cannot login to your account, break the system, and then have blame all fall on you.
# 3  
Old 07-13-2012
well, thats true... but I am looking for technical reason.
# 4  
Old 07-13-2012
If you're working in a terminal, it's because the echo setting for the terminal has been disabled by the login program. Nothing gets shown at all, except for what the program on the other end prints.

It doesn't even print *'s, since that would help someone watching guess how long your password is.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync - how to copy hidden folder or hidden files when using full path

Hello. I use this command : rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command. And no full source directories are in use, only some files. Source example... (2 Replies)
Discussion started by: jcdole
2 Replies

2. Solaris

Passwd -f locks out login

hello; I have inherited a SunOS sjcorpftp 5.10 Generic_118855-36 i86pc i386 i86pc whenever someone needs a new password, I change it via "passwd username" then "passwd -f username" so they can change their password on my only sun sparc 5.9 you can "accessed denied" when you... (0 Replies)
Discussion started by: ikeleong
0 Replies

3. Shell Programming and Scripting

Issue in passing passwd to login into a sudo account

Hi Gurus, I have small issue... I used to pass the passwd for sudo commands like below, gzcat ~/passwd.gz | sudo su - <villin> >> eof ------ ----- ------ eof And it was able to login into "villin" sudo account successfully. But now, I'm using the same in another script for the... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

4. Solaris

Solaris 10 allow ssh login with empty passwd

I have turned off PermitEmptyPasswords in sshd_config, but a user with empty passwd (deleted by passwd -d user) can still login without password, why? it is big security concern, linux doesn't have the issue. $ uname -a SunOS 5.10 Generic_118855-14 i86pc i386 i86pc ... (8 Replies)
Discussion started by: honglus
8 Replies

5. Solaris

Force user to change passwd on first login

Hello All, How to force user to change his login passwd on his first login in solaris 10 ? while adding user do we need to set the password in theis case?? (7 Replies)
Discussion started by: saurabh84g
7 Replies

6. UNIX for Dummies Questions & Answers

reading hidden files at login

what does the korn shell read? what does the c shell read? (3 Replies)
Discussion started by: trob
3 Replies

7. HP-UX

Login to diff server w/o prompts for passwd

Is there any way to login to another server with out getting prompted for the password? Is there a way to embed the password in a script and use either telnet or rlogin (or some other prg)? I need to do some file manipulation on several servers for out ORACLE 10g RAC and need to automated so... (4 Replies)
Discussion started by: vslewis
4 Replies

8. Shell Programming and Scripting

FTP Script with hidden login name and Password

hi, i need a method to hide the login name and password ....during FTP ....in the script.. thnks (3 Replies)
Discussion started by: scorpiyanz
3 Replies

9. Shell Programming and Scripting

Hidden chars in Unix can be replaced?

We have some unseen chars in unix, like '^T's, can be seen with 'cat -v' command. Is there any way, with which, we can replace these ^T s with a space? (1 Reply)
Discussion started by: videsh77
1 Replies
Login or Register to Ask a Question