One of the possile reasons for this is that either you exec any command like
[COLOR=blue]sudo su -[/color blue]
during the logon process or you have similar command(s) in your [COLOR=blue].profile[/color blue].
For example, for PuTTY SSH-client you may configure to exec any command...
In [COLOR=red]ksh[/color red] you may use the following script to do this:
[COLOR=blue]
IFS='
'
for n in `find . -type f -name "* *"`
do
NN=`echo $n|tr ' ' '_'`
mv $n $NN
done
[/color blue]
or as 1-liner:
[COLOR=blue]
IFS='\n';for n in `find . -type f -name "* *"`;do NN=`echo $n|tr ' ' '_'`;mv...
The script "utmp_clean.awk", mentioned above, really works (I've used it a few times), but you have to change the line
utmp_name=sprintf("%s %s",$1,$2)
to
utmp_name=sprintf("%s %s",$1,$3)
I found 2 versions of that script on IBM Web-site with these 2 lines being different in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.