Well, I have a very odd problem :|
I have multiple user accounts on a system... when I try to su- from root into another simple account, bash gives me the green colored prompt... ok, but when I type just 1 letter, it automatically fills in "logout" or "exit" and it logs me off instantly...
I reboot the computer, and when I su-, it works, I can type commands in the simple account's shell, I logout, and when I su- back, it automatically logs me out... I don't know what is this...
I've already checked, the permissions are set, the user's home directory exists, everything is otherwise ok.
I have to mention also that in normal direct logins on the simple users, it works, and even in ssh simple_user@server it also works.
The only problem is in SU- from root into the normal user.
Code:
maincore ~ # su - backup
backup@maincore ~ $ wlogout
maincore ~ #
that "logout" you see, is NOT my typing... I just typed "w", I don't know why, it automatically appends a logout or an exit to my shell when I start typing the first letter of a command :|
The only wait to counteract this is to hit Enter and start typing afterwards, but this is not a solution.. I want a permanent solution and an explanation if possible
Please advice