terminal root login in clear

dear suseusers,

I forgot what I shall I do ,that’s I need your help.

So when I write my password in a terminal the letters occur in clear not ***(star).
pleae what shall I do that enetering the password to work right.I want to say if I push key f for example the system to show me one *.
thank you ,I know it’s easy but really I forgot .

thank you.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applications are in charge of masking the passwords (either by echoing
nothing or echoing a star instead of the regular password). Most
applications do hide it, or even more often, show nothing at all. Which
application are you using showing the password?

There are some cases where the password is echoed in some scenarios
(depending on the environment) and not others. For example, if you SSH
into a system and run a remote command from the start of the SSH session
(meaning you type in the command on the SSH client so it is executed
remotely and then that’s the end of the connection) then you need to know
how the application prevents that (add ‘-t’ to the original SSH command).

Good luck.

On 07/12/2010 01:16 PM, Pushy wrote:
>
> dear suseusers,
>
> I forgot what I shall I do ,that’s I need your help.
>
> So when I write my password in a terminal the letters occur in clear
> not ***(star).
> pleae what shall I do that enetering the password to work right.I want
> to say if I push key f for example the system to show me one *.
> thank you ,I know it’s easy but really I forgot .
>
> thank you.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMO3uSAAoJEF+XTK08PnB5aogQALtZ4nEMUvBiMF1S7riOxANW
5ZvKVi/n3DSufCIx8pgy/gGOdCm52/Lz3/jk1xb8aqFKQLdSTbIPhXHGfgLJ9ypF
wSKKuoH/9P6R1KZpyBhUnN3KcB6LE7TPGSv65sW2pcNbVHB3OmtwVn6aglqNuAwp
ih4f9BbSf5wbAwIek0K9iEri6WHs/ZQhK6FxrGhUpe4bPbpxdczNxCTAIHPE/g8A
67bL1iAfzQffUEi7bnHp0vNSA9/Z2FxxmKToIZi1hTQxvWJ6nZ2JuyxWYhwK4g2s
kjbc5UMFHv32bWE2YL7DnplsLlhovVp0M9jiK7rpGE54C7TFrXHVoLHjUHwc7Aqn
jAYlqBc9eyYBYpIiuzp2KVpwR6qxDuRleviJUAdK/sSZhrVZQ7lyzEJxWOiwvusV
LGunhXojf/JazgYDDtLrep0hRyuQ4OZPTR9xuBmkbSdXVeLLRlxwerR8fhntEDaN
X1zIv8C3wBeEtIK6cTAKt+U38w5Qlwy22vvu4vqRB+CKGqussaYLYq+jc4hQKlnd
p2e1ZNAF89wBBi7wDdvFIVfKmB+80yi0dJ4O/c2PVCmRgOw9oNV2V6PFJ4Y+sGaV
HN4E2Yqmf62yrdbnfebJ4Djo9cBq9fIgBw53x/wU67+0ygLB5wkQA4Iz6iOxmHa8
Ur6HIrqk3PmALwNMK6OY
=wRmf
-----END PGP SIGNATURE-----

The situation occurs every time,for example I am working in CL /terminal and I am doing something .Ok now I need for some task/install ,etc, to log from terminal/CL as root .
I write

su

the system requests the Password:

here when I insert/write the password ,everytime the characters/letters,numbers,etc are showing in clear ,no star.

I can work but I don’t like this.Also when I login in GUI as normal user the same situation.I am sure somewhere is something with wrong setting,but I don’t know where.The problem occurs recently without change anything,suddenly ,I don’t have any expalnation for this.

Maybe in etc/passwdd or etc/shadow it’s something.I looked there without modify and for my it’s ok.

Possible to be the method of encryption/md5 or blowfish .I am serching but it’s very good a help .
These are the infos.Thank you,If you have a little time and a solution it’s ok.

Imagine at the workplace where I am using SuSE an
someone is coming and see of course this in clear.It’s not a pleasant situation right No?
I am looking for it.

See you ,all

The login program for the terminal does not echo keystrokes in the password field. Never did. For security reasons.

Yet, on the desktop and in the graphical login screen, you should see stars. Take a look at the Login Manager’s settings, you can set whether nothing, 1 “star”, or 3 “stars” are displayed.

Using

su

or better

su -

or any other way to log in in a terminal you will get no echo at all. This is allready the case for about 40 years. Not much chance that it will be changed.

very good ,but how can I enter there.from desktop configure/login manager in GUI I don’t have any tab,label with password.so somehow I ust open it with vi or emacs .i used find tool to look for a file to edit.the problem is when I write login or manager or loginmanager is that are to manny and I don’t know exacfar tly which.

what is funny is that in the past not so far I read something about this in my book ,but now my book it is not at home ,and the person will give me back after few days.
so I 'm sorry could you please give more details about how to do?
*

i may be wrong, but i believe both hcvv and Knurpht misread the problem:

i think the problem the OP has is, instead of seeing nothing when
typing the password in a GUI generated terminal, he is seeing the
actual password appear, letter-by-letter as he types…

and, when he types into a GUI application (say YaST) instead of seeing
stars (*) he is again seeing the actual password…

what i wonder is what happens if X is not in the way:

@Pushy, open a real terminal this way:

[but before you open the real terminal you MUST know how to get back
to your GUI, so (do NOT forget this) to get back to your
KDE/Gnome/whatever do this:

Hold down the left Ctrl and the left Alt key and then press the F7
key–then release all three keys…the screen will go back to KDE/etc
pretty quickly, but maybe not instantly.

ok, to go to the first text terminal press:
hold the left Ctrl and Alt keys and then press F1…

you will be switched to a full screen text terminal…type in your
user name at the prompt and when you get the password prompt, type in
YOUR user password…

do you see your password, or do you see nothing as you type?

come back here (Ctrl+Alt+F7) and let us know…

[if he sees his password in the text terminal it is REALLY messed up,
if not then only X (or the DE) is broken]


Enjoy Packman’s benefits? Show your appreciation by donating at
http://se.unixheads.org/?donate

DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

I looked in /etc/login.defs but also nothing

I am thinking that should be a file let’s say in /etc that can be edited with emacs/vi ,that file should have a line reffering password and how they look for user when he write .* ! i.e.I don’t know ,something.this is my idea but I dont know which file is.in etc/shadow or passwd I don’t see

i tried" su - "how yu said ,it don’t work in my case

echo it’s working always.uf…!!!

in GUI and in CL .now I like…not

As there seems to be some confusion on what exactly is your problem, can you please describe it again and also when you say that this “does not work” that is not very clear.
Please SHOW us things. Copy and past what you have one the terminal. Asd an example I will show you what happens when I do this:

henk@boven:~> su -
Wachtwoord: 
boven:~ # 

The above is what happens. When you have different please SHOW it.

You should see a su login as hcvv shows in reply #13 above.

Do we assume that crtl-L alt-F1 entering password works but terminal command still does not?

Have you changed the terminal profile or desktop theme?

Do you see your password every time or this just started with this session?

Would you logout and login again then try the su in a terminal (CL) screen for us?

so look what I’ve done

So from kde /GUI I made logout.
I did login from Console login

for root and normal user when I typed password ocurred nothink(no star nothing,like in the past,is ok).THIS IS OK,is normal.

Now i did startx for normal user to enter in Gui/kde 4 and I come back to kde/gui.

push the password ,occurs in clear.
Now I opened a terminal (from kde of course ,separetly)and I type su
and password occurs in clear.

This is the behaviour for my system/

if my explanation are not understood maybe my english is very bad and I’m sorry for this.I’m from ploiesti/romania and I never learnt english in school just some courses at my workplace and I consider I can handle referring to comunicate something.
If I am not understood sorry once again,please.

About my problem I susepct a bad configuration in a .rc file but what file?and that file should be in /etc but where?

If someone can give me any kind of help thank yu.I tried everything that yu advised me but it didn’t work.
So what should I do more?
Anyway 11.3 is on the way.Do you think a update to 11.3 can solve also my problem excpet of course the update of the system?
I wait.

thank you in advance.

English may not be your first language, but we will try to understand you, even if it takes some more time. Do not worry. But please try to tell EVERYTHING you do, as litearally and precise as possible. And when possible do not tell, but SHOW.

I think I understand better now what happens:

  1. you boot and the system shows the KDM login screen. You enter username and password and the password shows ***.

  2. you log out from the GUI.

  3. you do Ctrl-Alt-F1 (PLEASE CONFIRM this, because you do not tell!)

  4. you log in in logical screen #1 (Console) with userid/password and nothing is shown for the password, as it should be.

  5. now you do startx. I do not understand this. Your X is still running (try Ctrl-Alt-F7 to go there). Do I understand this correct? Why are you doing this? And I am almost sure running two times X will cause some problem.

Pushy wrote:
> if my explanation are not understood maybe my english is very bad and
> I’m sorry for this.I’m from ploiesti/romania and I never learnt english
> in school just some courses at my workplace and I consider I can handle
> referring to comunicate something.

you english is good enough for me (a native english speaker) but maybe
not for some GREAT folks here for whom english is their second or
third language…

if i could do Polish/Romanian or Russian less than half as good as you
do english, i would be VERY proud of my accomplishment…

> About my problem I susepct a bad configuration in a .rc file but what
> file?and that file should be in /etc but where?

i kinda suspect that also, but i’m not sure since it only affects you
when in X-windows…

you might TRY looking in /etc and see if bash.bashrc has a backup
file, like maybe something or someone changed it–it should NOT be
changed unless you know what you are doing :-)…or, look and see if
you have a /etc/bash.bashrc.local, if so i guess the ‘problem’ might
be in there, but i wouldn’t know how to know except to rename it and
then restart X and see if you still have the problem…

another thing you might do is look in your home for .bashrc and see if
you are using an original unmodified file…that is, are there any
backups of that file there, maybe a /home/[you]/.bashrc~ or .bashrcBAK
or .bashrc1 or or or or

if so you might TRY making a backup of the .bashrc in use and then
copying .bashrc~ over it and hmmmm…log out from KDE and then back in
and see if the pass still echoes to the screen…

i think i should say: i am just guessing, i do not know what is
causing your problem…

> Do you think a update to 11.3 can solve also
> my problem excpet of course the update of the system?

i think if the problem is not in /etc/bash.bashrc.local or
/home/[you]/.bashrc (both of which i expect to be still there after
moving to 11.3) then it should be fixed…maybe… :wink:


Enjoy Packman’s benefits? Show your appreciation by donating at
http://se.unixheads.org/?donate

DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

thank a lot dear suse user.I will try and in this case I am willing to use your solutions.I will see.An also myself I think the update can let the problem unsolved.But I will see.First I check if your ideas have practical effect.

Thank you for your time and thank you to all.Really this forum is gorgeous about the help.

see you

dear velden

1.i don’t run 2 kde sessions in the same time.,be sure about that
2.so let’s say I start PC .PC enters automatically and after all steps (check,bootloader/grub,choose the OS(i have dual system win 7 and suse 11.2,but win 7 i use very rarely ,it’s just in case becasue at the workplace all my colleagues use winMS and if it requests something with a application that for suse I don’t have time to configure or I don’t have it yet),so choose SUSE11.2 ,ok, after this step the splash occurs ,.Now it is now.when I type the password instead of dots or starrs I have clear what I typed(letter,numbers etc).
OK I type I make login.No problem .just the why to insert password.

Now from GUI/KDE I work.OK.Let say I open a terminal ,having GUI working.I can do this.I did it manny times.The system allows this.Right?
So in a terminal when I try to work as root after su commnad the password it requested.Ok .I type but I have the same situation.Letters ,numbers ,etc,occurs in clear.This .is I push ENTER key and I work.No problem >But only this stupid situation.]

Occurance of typing password in clear.

and I am afraid thiss makes weaker the security of my system>
This is the RISK.

Now I think I expalin a little bit more my problem.

So ,dear Velden could you help me?

anyway I use the solution of DenverD/below.But if you have one no problem.More solution ,more chances to solve the problem.

thank you for your time and idea.

a insecure system ,better is to be removed (not SUSE of course,I am talking about my damaged system,not so badly bad enough).

I looked in /etc as You said.

1.I don’t have a backup for /etc/bash.rc
2.I don’t have a /etc/bash.bashrc.local
3.I have in /home/userid a .bashrc,it’s original ,no other ,no backup

so maybe the update can be a solution