DebianThis forum is for the discussion of Debian Linux.
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.
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.
When I first installed Etch I managed to allow for root to log in at startup. Somehow the system has since changed that back, an now I've searched virtually the whole computer and can't find the screen with the checkbox. If anyone could help with this I would be so greatful, since I love to have a separate root desk.
Also, when playing music in Juk and fiddling with the windows (moving, stuff like that) there is this squeeking noice in speakers. Does someone know how to get rid of it? It's just downright annoying.
I'm on a Compaq Intel PIII
Win + Etch (not single-user)
Sounblaster live! soundcard
256 MB
Probably not, but don't let that stop you from trying. Besides, I don't think it's possible from KDE anyway. The only settings dialog for the login window I can find is for gdm.
Also, if anyone knows how to get rid of that shreeking noise, especially when streaming.
It *is* possible in KDE, but as I have said above I very strongly urge you to reconsider. Why do you think windows users are hit so often and so hard?
It is because on windows, by default, you run as administrator, giving *every* program full access to everything. This is basically what you do when you run your X-session as root. Every glitch in the program, every exploit in the program, buffer overflow etc means the misbehaving piece of software can do *anything* with your system.
Also, running as a user protects us from ourselves. And please don't give me the excuse that you never mess up. Ok, wait, let's for a moment assume you never mess up ok... now you are typing the command rf -r ./ for instance, but the dot on the keyboard is sticky and didn't register your keypress. you press enter and you have just told your OS to remove EVERYTHING from EVERY partition and device mounted. Pretty scary huh?
I am a system administrator and sofware developer. I have much experience with Linux and I tell you: I run my X-Session as a user, ALWAYS. when I need to do something that requires root privileges, either there is the pam module that pops up and asks me for the root password, or on the console I use su, not sudo because su always requires you to enter the root password.
I strongly believe that it is your duty as Linux user to run as a user. If we all run as root then I can pretty much guarantee you that we will be experiencing a very high amount of malware targeted to us.
If you are still not convinced, then I challenge you to give me a valid reason to run your desktop as root.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Tillus,
Debian removes the capability of logging in to KDE as root. That is for safety. You can run individual programs as root by choosing "Run..." from the KDE menu and run as a different user.
Command line programs you can run from within a terminal and entering the "su" command.
There is really, really, really no reason to log in to KDE as root, and it is fairly dangerous.
There is really, really, really no reason to log in to KDE as root, and it is fairly dangerous.
jlinkels
Agreed. You don't need to log-in as root. If you need to administer your system then just invoke su to get a root terminal. For example as a regular user you can edit, save your sources.list.
True, but even then I advocate the use of the su command to invoke an editor with root-access. Yes, even gedit has root-access when invoked from the root-cli So does nano... So: no need to chmod any config files to edit them as a regular user.
@Tillus: as a new Linux user you should familiarize yourself with the way Linux works, 'cause it differs fundamentally from any Win-OS. Read some books and howtos about Linux, either online or on paper.
Because I know you have all your data backed up, and your operating system(s) also, who cares what can happen when logged into X as root when you have no fear. Check post #3 in this thread.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Hehehe, now I read that page the link points to, it reminds me of that other OS. Whenever I need to do something as administrator, I have to log off as current user (writing 400MB of roaming profile), log in as administrator (load 30 MB of profile), do the admin job, log off (write 30 MB profile) and log in as user again (and load 400 MB roaming profile) and check if worked what I just tried. Usually not, and it would not be the first time that I keep switching between user and administrator for an entire morning.
The problem is not only the problem HE can create in running as root. The most important is that somebody who can take control of a buggy software (kde,gnome,firefox as least) will have _full access_ to his box.
I'm currently able to crash kde and gnome in a few clicks. If it turns out that this is exploitable to execute some code, then this code will run as root and will be able to install, say a rootkit that can remain undetected for months, unless the person has a strong knowledge on this OS.
Security concept #1 is: Run with least priviledge. It's common sense... The higher you jump the more harm you make when you fall..
Quote:
Originally Posted by Tillus
If anyone could help with this I would be so greatful, since I love to have a separate root desk.
If you run your complete WM as root, you don't understand anything about security.
The only case where it's maybe not a problem is with an unconnected machine and nobody plugs anything into it AND you are sure you will never make a mistake (which is false)
But anyway, can you answer this question:
Quote:
Originally Posted by x_terminat_or_3
If you are still not convinced, then I challenge you to give me a valid reason to run your desktop as root.
People here are ready to help you to administer the machine without loggin in as root so ask for a specific reason to run WM as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.