Every time I become Super-User on my terminal, a message stating su succeeded is echoed back and I have to press the enter key to return to the command prompt. This is very anoying. I have have all over includeing the /etc/default/su in order to stop this. Any suggestions?
Dee
Are you using a console window as opposed to a terminal window?
you can make sure that the line in the file /etc/default/su reads:
#CONSOLE=/dev/console
Also, you may want to check your /etc/syslog.conf to see if auth.notice is being sent to anywhere else except /var/adm/messages and /dev/sysmsg.
To isolate whether syslog is causing the problem you could edit /etc/default/su and change SYSLOG=YES to SYSLOG=NO (but I wouldn't recommend leaving it like this for obvious reasons).
Is this a fresh install or did someone use the machine before you?
Thanks
Mark
I think at times I was using a console; when I open a new terminal and su to root I get the "su succeeded" message after that it's fine.
I looked at /etc/default/su and console is pounded out. This is a fresh installed system that was only used by the installer before I got on it.
Since I am no longer on site I will have the operator check /etc/syslog.conf to auth.notices is being sent any where else I will keep you informed.
Thanks Mark!
Dee
No probs.. it's strange, but you do get this kind of thing where you have to press return when something is redirected to your shell. It seems strange that it's echoing back to you and doing this though. If you're just opening a standard terminal and su'ing, there should be no problem.
You should just get the # prompt after an su, so like I say, it seems that some sort of output to terminal has been enabled for SU. :S
If you try using the "Console" window then you will by default have this message echo problem as far as I remember. It's annoying but the console is generally used as an admin monitoring tool - lots of people redirect syslog events to it so they can see what's going on rather than keep checking logfiles.
| « IP for second interface? | sol8 on vmware (w2k) » |
Get Solutions to your Hi-Tech Issues Now!