Root user changed language display


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Root user changed language display
# 1  
Old 04-04-2013
Hammer & Screwdriver Root user changed language display

Hi,

I was carrying out some simple admin tasks setting up a user, logged in as root when I fumbled on the keyboard. It appears I typed

Code:
cp * ../user/<esc><esc>

I hit return and now the display has set to a strange array of symbols

e.g.
Code:
¼Ùïõò §ÏÅÎÓÓȧ ãïîîåãôéïî èáó ôåòíéîáôåä



I've tried looking at the client settings, these are all the same. Does anyone know how I can undo this? Or what I have managed do?

I've also tried logging out and logging in again, but it is still in this language.

Any help would be appreciated.

Thanks,

Becky

Last edited by radoulov; 04-04-2013 at 10:07 AM..
# 2  
Old 04-04-2013
You have managed to change the locale settings. I do not see how, a priori.
You may have overwritten some libraries with garbage.

Does this garbage show for all users? (If you don't know logon as some other user).
Please include the output of this in your answer:
Code:
uname -a

-- if you can make it work, otherwise tell us a lot about your shell and your OS. Like what your locale is supposed to be, name of OS, etc.
# 3  
Old 04-04-2013
In case it's just your terminal that's gone weird and not the entire system, try running reset from your shell prompt. Hopefully that will make things normal again.
# 4  
Old 04-04-2013
Assuming it's the terminal only then it looks as though you are in 8bit _extended_ASCII_.

These are the characters that display when a SERIAL link is set up and bit 8 of the ASCII character set is set to 1.
Try and set your encodings back to default using the terminal preferences or another means.

The gibberish decodes as:-

<Your 'OPENSSH' connection has terminated>

When the top bit is removed...

Hope this helps...

Bazza
This User Gave Thanks to wisecracker For This Post:
# 5  
Old 04-04-2013
Hah! I didn't bother looking at the gibberish, assuming it was too scrambled to make sense of... But it's text after all then. Nice!
# 6  
Old 04-04-2013
Quote:
Originally Posted by wisecracker
Assuming it's the terminal only then it looks as though you are in 8bit _extended_ASCII_.

These are the characters that display when a SERIAL link is set up and bit 8 of the ASCII character set is set to 1.
Try and set your encodings back to default using the terminal preferences or another means.

The gibberish decodes as:-

<Your 'OPENSSH' connection has terminated>

When the top bit is removed...

Hope this helps...

Bazza
Assuming this is what happened, the command:
Code:
stty sane

may get you back to where you want to be. Don't worry that it will look like gibberish when it echoes the command as you enter it; just make sure that you are at your primary command prompt when you enter this command.

Note, however, that if this was the problem, logging out and back in should have corrected it.
# 7  
Old 04-04-2013
Quote:
Originally Posted by Don Cragun
Note, however, that if this was the problem, logging out and back in should have corrected it.
Not necessarily, if his 'login' was commandline ssh like I suspect.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Root password changed but old one still works

Hello i am running AIX 6.1. i recently changed the root password using passwd and pwdadm. while the new password works fine, i am still able to login using the old password. is there anyway this can disabled\fixed thanks (5 Replies)
Discussion started by: dnlsingh
5 Replies

2. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

3. UNIX for Advanced & Expert Users

Root and non-root user not able to delete the file

Hi!! one strange problem occurred with my RHEL 5 box. i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder. here is the scene: -rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log -rw-r----- 1 root root ... (6 Replies)
Discussion started by: sukhdip
6 Replies

4. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

5. UNIX for Advanced & Expert Users

SuSE-11 Ownership of files having root got changed

Hi Experts, I have create a new user with uid and gid as 0 in SuSE-11 Server. After that all the files having root owner ship are showing as new user name as owner. If I login as root, and type 'id' command, it also shows the new user. Sample output from my server. host:~ # id uid=0(test)... (4 Replies)
Discussion started by: vipinable
4 Replies

6. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

7. Solaris

what impact root gid changed from other to root is?

> id root 0(root) 1(other) From CIS scanning result"it should make sure the root's gid is equal to 0", so I don't know what's the impact for that change to whole system? BTW, why is there a group named other under solaris? what does group "other" do ? Thanks very much! (3 Replies)
Discussion started by: a2156z
3 Replies

8. SuSE

root folders group changed in SUSE linux

The group of the /root folder has been changed and then logged out I am not able to log in to the /root user as it is saying Xsession log in not allowed Is there any way that the group of the /root folder be changed? (1 Reply)
Discussion started by: napster_san
1 Replies

9. Solaris

changed shell of the root accidentally

Hi All, I have changed the shell of the root accidentally to /sbin/bash :mad: How do I change that? :( To change that I need to go to ok prompt I think, and there I need to mount the root file system in order to make changes to the respective file. Can any one please suggest how do I do... (4 Replies)
Discussion started by: pintu_asim
4 Replies
Login or Register to Ask a Question