1 |
Joshua Murphy wrote: |
2 |
> On Fri, Feb 13, 2009 at 3:05 AM, Dale <rdalek1967@×××××.com> wrote: |
3 |
> |
4 |
>> Hi folks, |
5 |
>> |
6 |
>> I from time to time will go to a console and do a rc single to go to |
7 |
>> single user mode. I have noticed something weird when I go back to rc |
8 |
>> default tho. On the #1 console, it acts and looks like I am logged out |
9 |
>> but when I type in the user name root, it acts like it is a command. |
10 |
>> Same with the password. However, if I just type in a command, it spits |
11 |
>> that back out too. It doesn't seem to like a login or a command. |
12 |
>> |
13 |
>> It did this a bit ago. I just typed in junk and let it reach the bad |
14 |
>> login limit and reset the console. It then gave me a login and let me |
15 |
>> do a legitimate login. It cleared the screen which is what is in |
16 |
>> .bash_login so I know I am logged in. |
17 |
>> |
18 |
>> This is just sort of weird to me. The screen when it gets through |
19 |
>> starting services looks just like it does when I reboot. I see the last |
20 |
>> few services at the top then my login prompt at the bottom. Everything |
21 |
>> looks normal but it's not. What can I check? Is this normal? When I |
22 |
>> type in rc default should something reset tty1 so that a new login is |
23 |
>> required? It acts like it is still logged in as root which could be a |
24 |
>> security problem for some. Just curious really. |
25 |
>> |
26 |
>> Dale |
27 |
>> |
28 |
>> :-) :-) |
29 |
>> |
30 |
> |
31 |
> Sounds like it's not closing out of the existing shell on the terminal |
32 |
> but is till starting a login process on top of it. The lazy fix is to, |
33 |
> when you go single user, throw a " & logout" on the end of the command |
34 |
> to make sure the shell closes out. |
35 |
> |
36 |
> If you want to poke around and see, for certain, that it is doing what |
37 |
> I'd guess it is.. change your inittab and add another login in single |
38 |
> user mode on tty2, log in, and check "w" for an active session on |
39 |
> another tty. |
40 |
> |
41 |
> |
42 |
|
43 |
Well, what I noticed is that when I go to single user, I have to type in |
44 |
my password again. I would think it would do the same when going the |
45 |
other way around. I'll go single user here in a little bit and try that |
46 |
"w" command and see what it says. I just thought it weird that it is |
47 |
doing this way and was curious whether it is the standard or something |
48 |
specific to me. |
49 |
|
50 |
Thanks |
51 |
|
52 |
Dale |
53 |
|
54 |
:-) :-) |