Red Hat Bugzilla – Bug 49193
Can not login into a tcsh account
Last modified: 2005-10-31 17:00:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Description of problem:
I have upgraded OS from RH 7.0 to RH 7.1 and after that I could not login
into my account with tcsh. Only when I changed to bash login worked. Then
I did a clean installation and even reformatted my disk. The tcsh did not
As a quick fix I took tcsh from RH 6.2 and put it into /bin directory.
That worked for some time but after I reboot the system tcsh stopped
working. Then I installed tcsh from RH 7.0 using rpm. That did not work
either. I am running DELL presision 620 workstation with two cpu's. This
is a dual boot system with Windows 2000 and Linux. The system is bootable
Steps to Reproduce:
1.Login as a root and using linuxconf change user account to tcsh .
2.Logout and then login again into the account with tcsh.
Actual Results: Afer typing login name and password the screen goes dark
for a second and then login screen comes back.
Expected Results: login into user account through the starx interface
When I open a new window using tcsh account with a tcsh from RH 6.2 OS a
message shows up:"MANPATH environment variable is not set"
I also talked to other RH 7.1 users and they said that tcsh worked for
them. May be this problem is an indication of something else going wrong.
I am still waiting for a responce on the problem with tcsh. The shell can be
changed by typing "tcsh". That does not give all the capabilities of the tcsh.
It does not give me history for example. I also tried to chsh command
and /bin/tcsh. That did not work and later on I could not login into that
shell. The only thing that worked was a copy of tcsh from Red Hat 6.2. This
worked for the current login session and stoped working after that.
I noticed this exact same problem... I was just going to report it...
i.e., if I change the login shell to tcsh (using chsh for example),
then after logging out of the account I can not log back in from the terminal
(I can, however, ssh to the account...):
I type in the username and password, the screen blinks and
the login screen reappears...
I tried to reproduce your problem by:
1. installing 7.0 Workstation US (all defaults) clean on a machine with one user
acct and starting in text mode
2. logining into that account, using chsh to change from /bin/bash to /bin/tcsh
3. typing startx to confirm that X and GNOME come up
4. reboot and install 7.1 U.S. via Upgrade
5. login to user acct. tcsh comes up. startx works. gnome-terminal works.
do you have a .xsession-errors or other error messages that appear when you log
into the tcsh acct from the console?
The .xsession-errors file has been sent for a review to firstname.lastname@example.org and to
Check if you have /bin/tcsh in /etc/shells... If not - add it, and check if you
/bin/tcsh disappeared from /etc/shells in one of the previous distributions for
unknown reason and at least it prevented users with tcsh shell from accessing
their accounts using ftp.
I have the same bug with RHAS
I installed it and then run :
usermod -s /bin/tcsh root
Then when I try to log, I have this
root: Command not found.
root: Undefined variable.
So I have to launch it by hand
I can't reproduce either behavior.
If it still occurs for you, please attach at least:
* whether "/bin/tcsh -l" works
* Output of strace for the attempt to log in:
use (ps -e | grep mingetty), use the TTY field to select
a process, then (strace -o log -ff -p pid_of_selected_process)
and send at least the files matching (grep -l exec.*tcsh log*).
Note that one or more of the files will probably contain your
Please reopen this report if you can reproduce the problem on a recent release
and you can provide the requested data.