Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-22-2008, 10:10 PM
|
#1
|
Member
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473
Rep:
|
Warning when logging in: How to disablle?
Hello,
Every time I log in as a root in Fedora, I see this message warning me that I am logging in as root. Is there a way to disable it?
Thanks.
|
|
|
02-22-2008, 10:17 PM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
I know nothing about Fedora but it's probably something in root's (or the system's) shell initialization. Grep your dotfiles and/or /etc for the warning phrase and remove it. (I'd suggest setting your root PS1 to something different from your unprivileged PS1, though. But a warning message sounds annoying as hell.)
|
|
|
02-22-2008, 10:18 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
How often do you log in as root, and what are you doing. You could use su and sudo after logging in as a regular user. I've only logged in as root a handful of times over the course of several years. Head the warning!
I don't know which window manager you are running. It may be a program in /root/.kde/autostart/ or it might be a /root/.Xinitrc config file.
My system has a red wallpaper with a large bomb on the screen and caution signs all over. This is done for a reason. Get out of the habit of logging in as root. You aren't running Windows.
|
|
|
02-22-2008, 10:25 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Quote:
Originally Posted by jschiwal
How often do you log in as root, and what are you doing. You could use su...
|
That's what I thought he meant - 'after giving the root password'. Perhaps that's my mistake. Either way, I forget people tend to start in a runlevel that kicks them into a GUI - I can't think of any reason to log in to X as root.
|
|
|
02-23-2008, 12:41 AM
|
#5
|
Member
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473
Original Poster
Rep:
|
Folks,
I log in as root pretty much every time. And since this is a new test desktop installation, I really don't care if I screw up. I hate modal dialog boxes, and just want to get rid of this annoying warning message.
|
|
|
All times are GMT -5. The time now is 03:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|