On 09/09/11 07:52, Paul Keusemann wrote:
I use the toor login on my FreeBSD systems to log in with the korn
shell. Since August 22, When I try to log in as toor or even when I
try to "su - toor", I get logged in as root. For example:
ushers# ssh -l toor woodstock
Password:
Last login: Fri Sep 9 06:30:23 2011 from 172.16.175.216
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 8.2-RELEASE-p1 (WOODSTOCK) #1: Mon Jul 11 09:05:07 CDT 2011
woodstock# who am i
root 0 Sep 9 07:46
woodstock# su - toor
woodstock# who am i
root 0 Sep 9 07:47
Unfortunately, I haven't tried to log in since a package update I did
around August 22, so I didn't notice this problem until now. Does
anybody have any idea what might be causing this?
OK, a couple of clarifications:
- First, this is a shell problem, not a user id problem.
- Second, su does give me the correct shell. In my earlier frustrated
state, I did not check to make sure I was getting a csh shell from su.
I have narrowed this down a little further and found a workaround.
Normally, the way I start an admin shell on my FreeBSD machine via a
menu item that runs a command something like this:
ssh -l toor woodstock /usr/local/bin/xterm +ut -ls
Up until August 22 or September 6, this would give me an xterm running a
korn shell but now is giving me csh shell. The xterm package was
updated September 6 but I don't see anything obvious in the change log.
A quick look at the xterm man page shows me the login shell can be
specified on the command line, so it looks like that is what I will have
to do.
I am still curious about what has changed in the last couple of weeks
though.
--
Paul Keusemann pkeu...@visi.com
4266 Joppa Court (952) 894-7805
Savage, MN 55378
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"