Solved

suse 5.2 login problem

Posted on 1998-12-08
2
245 Views
Last Modified: 2010-04-20
The other day I typed chsh to chage the shell upon login
somewhere along the line I typed clear instead of giving a
alternate shell
now when I login I get:
last login etc...
no mail
cannot execute clear: no such directory or file.

any ideas what file  this is  in.

Thanks
 
0
Comment
Question by:strmtrpr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1638753
short answer:  /etc/passwd

fix it as follows:
 1) login as root
 2) edit /etc/passwd: find line with your username (first word before first :), in this line edit the last field (after last :), there should be  clear  at the moment, replace it by whatever you like (/bin/sh for example), hint: user other entries as example
0
 

Author Comment

by:strmtrpr
ID: 1638754
thanks for the help
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question