When running certain apps as root in Xfce, a red bar appears with the message "Warning, you are using the root account, you may harm your system."
I have been grepping the Xfce source code and cannot find that message. I would be grateful if anybody would help me find this message in the sources.
Thanks.
Warning, you are using the root account...
Re: Warning, you are using the root account...
Just don't work as root



Re: Warning, you are using the root account...
That bloodshot eye is cool, though 

Re: Warning, you are using the root account...
thenktor's right, it's there for a reason.woodsman wrote:When running certain apps as root in Xfce, a red bar appears with the message "Warning, you are using the root account, you may harm your system."
I have been grepping the Xfce source code and cannot find that message. I would be grateful if anybody would help me find this message in the sources.
Thanks.
You shouldn't use the root account unless you want to perform a specific administrative task! Even then you should su to root from your regular user account.
Re: Warning, you are using the root account...
How about this one?
Gslap running .. start to multitask ...then decide to close Gslap and it does not respond so Ctrl-Esc to bring up Process manager. Attempt to KILL the Gslap processor but a warning appears that You must be root to preform this action.
I signed in as root to start Gslap and Process Manager should ask for a root password when KIlling a process ..not refuse..
Gslap running .. start to multitask ...then decide to close Gslap and it does not respond so Ctrl-Esc to bring up Process manager. Attempt to KILL the Gslap processor but a warning appears that You must be root to preform this action.
I signed in as root to start Gslap and Process Manager should ask for a root password when KIlling a process ..not refuse..
Slackware ( Manjaro ) Salix, AntiX, Bunsen, Calculate
Re: Warning, you are using the root account...
Uh, yeah, uh-huh.Just don't work as root

His smiley's indicate he was joking. Working as root is not a sin although there are developers of certain distros who act that way. As Salix is derived from Slackware, where users are trusted to know their own limitations, I doubt any Salix developer sincerely never works as root or expects others not to.thenktor's right, it's there for a reason.
Which still allows me to open an app as root. Sheesh. Are you normally paranoid or only at night?Even then you should su to root from your regular user account.

I'm not interesting in removing the bar, just editing the text. I might need to recompile, but I'll cross that bridge later.

Based upon some folks responses to working as root, I was thinking of changing the text to the following:
======================
Warning. You are using the root account. We upstream developers provide silly messages like this because we hold all end users in contempt. We think most end users are morons and imbeciles. That likely means you, whomever you are reading this silly message in a red bar. If you need to perform administrative tasks, then please contact a qualified Windows IT person and don't use this app anymore under the root account.
======================
Re: Warning, you are using the root account...
Personally I don't see the problem with the red bar or the text it contains, but http://bugzilla.xfce.org/show_bug.cgi?id=2890 might interest you. It doesn't explain how to change the text but might point you in the right direction, it explains how to patch thunar to remove the message altogether. It's dated from 2007 however, so who knows if the method still works. But it does look like recompiling thunar would be necessary.
(Solved) Re: Warning, you are using the root account...
Solved. 
I was under the impression the message would be universal, like in a single header file. But that is not the case. Seems the only place the message appears is in thunar and mousepad.
So far I have found the message only in those respective *.po files. After compiling they appear in the /usr/share/locale/ *.mo files.

I was under the impression the message would be universal, like in a single header file. But that is not the case. Seems the only place the message appears is in thunar and mousepad.
So far I have found the message only in those respective *.po files. After compiling they appear in the /usr/share/locale/ *.mo files.
Re: Warning, you are using the root account...
You're wrong. This subject has been beaten to death before. Search the forums if you want, nothing new to say here, you already got your replies anyway. Since you have also found the solution to your "problem" I'm closing this thread.woodsman wrote:As Salix is derived from Slackware, where users are trusted to know their own limitations, I doubt any Salix developer sincerely never works as root or expects others not to.