i logged in as root user in terminal and to my surprise, the root prompt has changed. i’m not sure what i did that changed the prompt. i’ve no problems logging in as root, it just bothers me that i see this error each time i log in (at least for today). i want the old prompt back. can anybody explain what caused this and how can i get the old one back? thanks!
i don’t recall editing the /etc/profile file. i don’t have such reasons to edit it anyway. is it possible that the OS itself made the modification? what could’ve caused that file to be changed?
i got the correct prompt back by following @ken_yap’s code post. i added the \ after "-a " and "/dev/console ". it puzzles me that i didn’t do anything with the profile file yet was changed.
On 01/07/2012 04:06 PM, hoychoy wrote:
> what could’ve caused that file to be changed?
an error in RAM while writing to disk, or a disk error…
are you having any other problems?
it might be a good idea to check your hard drive with SMART, and test
ram by booting from an openSUSE install disk and selecting “Memory Test”
from the first green screen…and, let it run overnight (it takes a long
time to test all memory)
other than that, it could have been a sunspot which flipped a switch…
> i don’t recall editing the /etc/profile file. i don’t have such reasons
> to edit it anyway. is it possible that the OS itself made the
> modification? what could’ve caused that file to be changed?
Check the date of the file (too late, you edited it). Check what rpm owns
that file, check updates in rpm database.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)