I have a wierd problem, that this command
echo "any_string" > .term_color
resets my Linux box !
Reset mean, the system boots immediatelly,
like if I press the reset button.
Normal shutdown procedure is by passed.
I have tried to nail this problem, but no luck.
Here are some detail.
Distro : Slackware current (10.0 ++).
Kernel : 2.4.27.
X-Windows : Xorg 6.8.1. It happens only from a GUI, not from a concole.
Window Manager : does not matter. It happens on KDE or IceWM.
Terminal : does not matter. It happens on xterm, aterm or konsole.
User : It does matter. Only on one particular user.
Root did not have the problem. I created a new user, and it was normal.
So I though, it must be something with the file on the problematic user. Here is the checking:
## Just test to echo blue
tux@engpc23:$ echo "blue"
## echo blue to term, normal
tux@engpc23:$ echo "blue" > term
## the content of term
tux@engpc23:$ cat term
## The permission of term
tux@engpc23:$ ls -l term
-rw-r--r-- 1 tux users 5 2004-10-28 10:44 term
## Nor the problematic file, the content is blue
tux@engpc23:$ cat .term_color
## and the permission is allright too
tux@engpc23:$ ls -l .term_color
-rw-r--r-- 1 tux users 5 2004-10-28 10:03 .term_color
## If I do this, system will reset !
tux@engpc23:$ echo "blue" > .term_color
Could you give me a clue, what is going wrong here ?