Visit Our UNIX and Linux User Community

Can't log in other than root - display garbles

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Can't log in other than root - display garbles
# 1  
Old 04-12-2003
Can't log in other than root - diplay garbles

I'm hoping someone here can bail me out of this one.
I have a box running SCO Openserver 5.0.2. I can log in as root fine, but if I try to log into any other account, I get:

Last succenful login for xxxx "bunch of symbols"

Standard copyright stuff

and returns to a login prompt.

What should I check or do?

# 2  
Old 04-12-2003
what is standard copyright stuff? also how are you logging into the other account? are you logging out then logging back in? or are you using SU?

if your display is garbled try typing 'reset' then hit enter.
# 3  
Old 04-12-2003
Perhaps I need to explain better.

>what is standard copyright stuff?

After verifying the password, it displays copyright info for SCO, Microsoft, and UNIX labs.
It seems to make it through the password part. It used to then display terminal type(ansi, xterm, vt52, etc) and then a command prompt.
What it does instead is garble the date of the last succesful login, show the copyright info, and instead of showing terminal type and command prompt, it goes back to "login:"at the bottom of the screen.

>also how are you logging into the other account?

The only account I can get into is root(which I guess is better than nothing, at least I can try and fix it). The whole login process works perfectly for root.(the date is shown in legible ascii text)

> are you logging out then logging back in? or are you using SU?
If I try try to su to a regular user from root It displays "process killed" and returns me to the command prompt as root. I don't know If this is even supposed to work, I never tried to su to lesser permissions before.

My only unix experience prior to this has been with linux - Redhat, Mandrake, some Debian. This box runs a proprietary application. It has no /home directory. The .profile file is in /usr/xxxx, the directory where this application lives. I don't know if this is normal or not, I have nothing to compare it to.

>if your display is garbled try typing 'reset' then hit enter.
Hopefully I've explained it better this time. I can't get to a shell other than root, which logs in and works fine.
# 4  
Old 04-12-2003
when logged in as root try changing the shell of the user that you want to log in as to whatever shell root has.
# 5  
Old 04-12-2003
Tried that, all users, including root use sh. I did try to change some to ksh but the end result is the same.
# 6  
Old 04-14-2003
find out what kinda emulation u are useing and change your term setting.

echo $TERM

export TERM=vt100

echo $TERM

try a few differnt terms.
# 7  
Old 04-16-2003
How do I change the terminal if I can't log in?

As root I can change terminals.
I guess what I need to know is what takes place once I enter my user and password. If I enter an invalid password, i get "login failed", so It is passing password verification.

I gues what I need to know is what takes place after user&password are entered. What does the OS (SCO OpenServer 5.0.2) do then? (launch a script, etc) With this I may be able to track down the problem. What if any logs would contain error messages that would be useful?
Thanks for all your help so far.

Last edited by craig2k; 04-16-2003 at 07:29 PM..

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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 cp * ../user/<esc><esc>I hit return and now the display has set to a strange array of symbols e.g. ȧ  I've tried looking at the... (7 Replies)
Discussion started by: becky492
7 Replies

2. Shell Programming and Scripting

What are the differences between 'bash' and 'sh'

Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies

3. UNIX for Advanced & Expert Users

How to remove a file with a leading dash '-' in it's name?

Somehow someone created a file named '-ov' in the root directory. Given the name, the how was probably the result of some cpio command they bozo'ed. I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies

4. UNIX for Dummies Questions & Answers

mistyped shell path, now i can't login as the only user that can su to root

i mistyped the location of bash and now i can't login as the only other user who belongs to wheel on my freebsd box. since i'm having many problems with samba, this has frozen my attempts to get things resolved with the former issue. i've been told that 'su -m' should do the trick, but it's... (3 Replies)
Discussion started by: xyyz
3 Replies

5. UNIX for Dummies Questions & Answers

quoting echo 'it's friday'

echo 'it's friday' why appear the > (3 Replies)
Discussion started by: yls177
3 Replies

6. UNIX for Dummies Questions & Answers

Can't su to root

I keep getting "su: Your own ID is unknown" whenever I try to su to root. Why is this??? I cannot find anything anywhere with this message. (6 Replies)
Discussion started by: stufine
6 Replies

7. UNIX for Dummies Questions & Answers

HELP ME HELP!!!! I can't Log in as root

I am running a Linux Red Hat 7.2 system and I can't log into the root account. When I tried to su to root from another user by using the command su - root, I get this error message: su: basename.c:67: base_name:Assertion `all-slashes || !((*(p - 1)) == '/ ' ) failed also, when I tried to... (10 Replies)
Discussion started by: TRUEST
10 Replies

8. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

9. UNIX for Advanced & Expert Users

What's the easiest way to display system cpu, memory, # drives/size ??

I am looking for the easiest and most generic way to determine: System model/class Number of cpu's Clock speed of cpu's (ie 550 MHz) Total Physical Memory (not virtual) Number of Drives/Drive Size Thanks in advance, (4 Replies)
Discussion started by: eyounes
4 Replies

10. Programming

i can't use 'make' in my computer?

I need to compile a file,but 'make' does not work.please tell me how to use it or need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies

Featured Tech Videos