Graphical login as root [rant]

I've read several reviews of Linux distributions oriented towards new users, and I'm a bit shocked by what I've seen. Apparently a lot of them log you into a graphical environment on first boot - as root.
Now, starting as root on a command line is one thing, but root in a GUI is bloody insane. The sheer stupidity of this absolutely stuns me. X should not be run as root, and environments like KDE should definitely not be run as root. It's insecure and there is no reason for it. It's easy enough to create a default account for first login, isn't it? Well, then why don't installers for GUI-centric distros do that? It's the most basic principle of UNIX security: if it can be done as a user, don't do it as root!
[/rant]

Gullible Jones wrote:
I've read several reviews of Linux distributions oriented towards new users, and I'm a bit shocked by what I've seen. Apparently a lot of them log you into a graphical environment on first boot - as root.
Now, starting as root on a command line is one thing, but root in a GUI is bloody insane. The sheer stupidity of this absolutely stuns me. X should not be run as root, and environments like KDE should definitely not be run as root. It's insecure and there is no reason for it. It's easy enough to create a default account for first login, isn't it? Well, then why don't installers for GUI-centric distros do that? It's the most basic principle of UNIX security: if it can be done as a user, don't do it as root!
[/rant]
Yeah I thought the same thing when I read about LinSpire.  Ridiculous

Similar Messages

  • Can't login with root

    I login under solaris 11,I enter root as Username,After I enter password,it pop a window:
    Roles can only be assumed by authorized users
    then pop another window:
    Permission denied
    Why I can't login as root? How can I login as root?
    Thanks

    This behavior is not an issue. Root is define by default as a role in /etc/user_attr file.
    You must first be logged as a different user then you can access to root account with su.
    If you need absolutely a graphical access with the root account, remove the role notion in the "root" line in /etc/user_attr.

  • Login as root in Linux from Netbeans

    Hi to all,
    I am to login as root by pressing a button in a JFrame ;
    Does anyone have any idea??
    Thanks

    I want to execute an application from java ,but this
    application will start only if you are root , so
    first I want to log as root and second to start that
    applicationWhat is this application?
    There is probably some very good reason for you to have to be root to execute it...

  • Login as Root password problem (the changed password isn't working!)

    I have enabled root user. I've changed my password for root user a couple of time and I am still not cable to login as root!! (username: root).
    Any thoughts and help? thanks a lot! Alon.

    Hello Stephen,
    Change of password is not done via configtool. Configtool secure store just stores the current password which is taken by SDM during the deployment.
    To change the password of the administrator user, you will need to enable SAP*. Please follow note Note 669848.
    1. open the configtool: C:\usr\sap\<InstenceID>\JC<xx>\j2ee\configtool --> configtool.bat
    ex: C:\usr\sap\J9E\JC09\j2ee\configtool ---> configtool
    2. Activate the "super admin" and enter password(this is your choice) in configtool properties:
    In Config tool: cluster-data>Global Server configuration>services--> com.sap.security.core.ume.service
    find below ume properties and change values as i mentioned
    ume.superadmin.activated=TRUE
    ume.superadmin.password= < enter password>
    3. Save the changes in configtool. click on Save button.
    4. Stop the j2ee engine.
    5. Start the j2ee engine.
    6. Now you login to UME with username "SAP*" and password "what you entered in configtool"
    7. After logging into UME Search for user "administrator" then unlock this user; or if you want to change password you can change it.
    8. Goto config tool follow step 1:
    9. Follow step2: and change ume property values as below:
    ume.superadmin.activated=FALSE
    ume.superadmin.password= (note: seta as default or blank)
    10. Save the change setting in configtool.
    11. Restart the j2ee engine ( Stop and Start).
    12. Now login to user as "Administrator"; you will succussfully loging into ume;
    Hope this helps.
    Regards,
    Snehal

  • How to login as root in mountain lion?

    i've already enabled the root function in directory utility.
    i CANT find how to login as root user. in login window there's just the one for my admin account.
    please help, i want to change the name of my home folder..
    [p/s: i've done this previously in snow leopard]

    Well, i have the same problem, and the solution you suggest kinda works...
    If i log out and try to login again then it works as expected.
    Meaning that if the setting is set at "Name and password" you get 2 empty fields
    and if it's set to "List of users" (with root user enabled) i get 2 circles (one with my user name and a second one marked as other, so i can log in as root).
    But this only happens when i log out and try to log in again.
    If i restart the Mac or shut it down and open it again, then this setting is ignored and all i am getting is one circle with my main account to log on!!!
    Could this be a ML bug?
    I even upgraded to 10.8.1 today, but that didn't fix things!
    Any ideas?
    Thanks.

  • Power managament / Graphical Login Manager / ...

    Hi all,
    I'm new to arch, coming from ubuntu (which is a noob distro compared to this ).
    I have several questions:
    I'm running arch (with fluxbox)  on a laptop and I wanted to place a wmpower  thingy in my slit.
    Install was succesfull but when I ran the program, I got a message:
    Cpu frequency scaling is not available
    No power management subsystem detected
    wmpower: No power management support...
    I searched forums, installed acpi (pacman -s acpi ), put acpid in my daemon list but when I ran wmpower again cpu frequency is available but I still get this error.
    No power management subsystem detected
    wmpower: No power management support...
    What else should I install?
    Other question:
    How can I install a graphical login manager, and when I'm logged in,  fluxbox must start ( startx has to be executed automatically).
    Last question: Which file manager should I use, I find rox a bit simple imo, and konqueror is to much for me
    Thx in advance
    Greetz Daan

    Hi Daan,
    Please see the wiki page regarding SpeedStep: http://wiki.archlinux.org/index.php/SpeedStep
    There are links for AMD based systems on this page as well, but only the necessary modules differ from this explanation.
    Briefly: Load the correct modules (add them to the modules array in /etc/rc.conf) for your CPU and install (and add it to the daemon section in /etc/rc.conf) cpufreq/another daemon to administer frequency scaling.
    nice regards

  • Start at tty1 bash login instead of tty7 graphical login after boot

    I'm pretty new to archlinux.
    I was searching over the arch wiki, but I haven't found any documentation which provides me clear instructions about how to set tty1 as the default tty after system boot. Normally the system starts at graphical login on tty7, but I want to use the tty1 bash login by default.
    How I can configure that?

    You could use a chvt service and order it after graphical.target. Something like that:
    [Unit]
    Description=Boot to tty1 in graphical mode
    After=graphical.target
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/chvt 1
    [Install]
    WantedBy=graphical.target

  • Installed OK, but graphical login fails

    Just downloaded and installed from DVD. The initial video probe selected the correct driver but failed to see anything. Selecting the VESA driver allowed me to proceed an complete install. However, On starting the Graphical login screen it appears to be using an incorrect driver.
    I can select the failsafe option at the Grub lilo prompt. What tools/files do I need to check to see which driver the system is using?

    http://forum.sun.com/jive/thread.jspa?forumID=291&threadID=89176

  • [SOLVED]Unable to run Graphical applications as root/sudo

    Ok so ive been working on getting my very first Arch install up and running and I need to get the catalyst drivers running for my HD6850 because I plan on doing some wine gaming.
    So I followed the instructions here on the wiki for ATI catalyst and I now have the drivers up and running, tried glxgears and everything is fine. The issue I am having Is that when I go under the settings menu in KDE I have the "AMD Catalyst control center" there, however I do not have the (Administrative) option that I get with all other distros. I need to run the CCC as root to beable to configure my multiple monitors.
    In a terminal when i enter;
    sudo amdcccle
    It returns with the following;
    No protocol specified
    amdcccle: cannot connect to X server :0
    So after a little digging I found this thread on the ubuntu forums that was quite helpful;
    http://ubuntuforums.org/showthread.php?t=307984
    So I ran
    DISPLAY=:0.0 xhost +
    then tried again to run
    sudo amdcccle
    and like magic it worked and I was able to configure my displays.
    However this is not a permanent fix. Can anyone see a more permanent solution to this issue? This affects more than just the Catalyst Control Center; It stops me from running any graphical application as root or with sudo. Also can anyone explain what is causing the issue?
    I have searched to the best of my ability and as you can see I have for the most part fixed the issue, however I cannot seem to find a permanent fix, nor do I really know what caused the issue to begin with.
    Last edited by relik (2011-07-03 20:21:52)

    SOLVED
    I took your advice about installking something like gksudo, and rememberd that on my kubuntu install I had something called kdesu. So Since im running KDE and not Gnome, I did some searching and found out how to install kdesudo using the AUR.
    Just followed the install guide here for Yaourt ---> https://wiki.archlinux.org/index.php/Yaourt
    Once I did that i just ran
    yaourt kdesudo
    selcted #1 and installed.
    Now when I need to run a GUI based app as root I type in
    kdesu <NAME OF APP>
    So to solve my original issue I just run
    kdesu amdcccle
    instead of
    sudo amdcccle
    This seems to work for any app that needs to be ran a root with a GUI.
    Also if your like me and you want to beable to just open CCC from your kickoff menu then do the following;
    1. Right click kickoff > edit applications
    2. Go to "Settings" > ATI Catalyst Control Center
    3. In the Command Field add "kdesu" without quotes to the begining of the line so it looks like this
    kdesu amdcccle
    4. Save
    Last edited by relik (2011-07-03 20:22:55)

  • Using UnixLoginModule to login as root in Linux

    I am running an app on a Linux box where I am already logged in. I want to spawn a process that needs to run as root. I have tried to use UnixLoginModule to login as root :
            Subject subject = new Subject();
            subject.getPrincipals().add(new UnixPrincipal("root"));
            LoginContext loginContext = new LoginContext("Login", subject, new MyHandler());
            loginContext.login();but my callback handler that would supply the password is never called and I don't appear to be logged in as root. It looks like UnixLoginModule simply returns data about the current user which is a fat lot of good. Does anyone know what I can do to make this thing do what it is supposed to do and allow me to perform a login? If JAAS is inadequate is there another way to acheive this?
    Regards,
    Matthew

    What ab�ut using an external tool like "sudo" to accomplish this?

  • Disable Graphical Login

    Does anyone know how to disable graphical login in 10.5? I would like to have only the 'Name:' and 'Password:' at the login window.

    Has this changed from Tiger?
    System Preferences -> Accounts and "Login Options" = Display login window as name and password

  • [solved] sudo: No password needed before graphical login?

    Yesterday I was messing around a bit with SLiM. I didn't configure any sessions for it however, so I was forced to login trough a VT.
    The funny thing is, on the VT, before loging in with a graphical manager, sudo didn't ask for a password. This was also the case when I using gdm. After I logged on to a graphical desktop, sudo would also ask for a password in de VT.
    My /etc/sudoers:
    # sudoers file.
    # This file MUST be edited with the 'visudo' command as root.
    # Failure to use 'visudo' may result in syntax or file permission errors
    # that prevent sudo from running.
    # See the sudoers man page for the details on how to write a sudoers file.
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    # Uncomment to allow people in group wheel to run all commands
    %wheel ALL=(ALL) ALL
    # Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Does anybody know if this is default behavior? Or is it more likely I made a mistake in some error file?
    Last edited by lldmer (2008-08-11 12:51:23)

    On my machine sudo 'remembers' me for up to five minutes so if you had used sudo just prior to that time this might be what is happening.
    from sudo man page:
    Once a user has been authenticated, a timestamp is updated and the user may
    then use sudo without a password for a short period of time (5 minutes unless
    overridden in sudoers).
    Otherwise, I am not sure.

  • Can you change smcwebserver login from root to non-root user

    I've tried digging in various place and haven't found any luck with this. Is it possible to change that default login from the system root to another user?

    Not sure about the first part.
    But i think you can fix the timing on the reader using this patch.
    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-67245
    Have a try not sure whether it will fix your problem.

  • Logging into CLI from graphical login manager...possible?

    Hey guys, this sounds like a backwards question, but hear me out.
    I have two accounts on my computer.  One of which is my main account, where do graphical design, sound editing, web surfing, and various LibreOffice tasks.  This account, I want to boot straight into my standard Openbox account.
    The other account, I'm planning to use solely for writing, and want to use it as a "no distractions, get stuff done," type account where I will just sit and write.  I plan on using wordgrinder for word processing on this account, since that's as "no distractions" as they come.  Thus, with my no distraction rule, I want to boot this account straight into commandline, and then from there, launch wordgrinder.  At the very worst, if I'm going to use another program with this account, it would be mutt.  However, I've already set up a GUI login manager.
    Right now I'm using LXDM, and am wondering if there's a config I can write to have LXDM send me back out to the CLI after I login using this secondary account.  If this is not possible, I have considered using a tiling window manager to emulate the CLI, but really have never used any, so I don't know which would be able to provide the feel of pure CLI without much hassle.
    So preferably, what options out of these are available for what I want to do?
    1) Create a config file for LXDM that can send me out to CLI.
    2) Uninstall LXDM and use a command line-based display manager. (If so, which one?)
    3) Use a tiling window manager. (If so, which one?)
    4) Ditch the display manager altogether and just use startx when I want to use Openbox.
    5) Other (Please state)

    loafer wrote:Sorry if I've completely misunderstood but isn't Ctrl + Alt + F2 etc. an option?
    It is, and I may have to settle for it (TBH, I hadn't even thought of that, when I had used it before, so thanks for reminding me of that.)  However, having an out to go back into openbox anytime I want easily just by doing Ctrl+Alt+F1 may be an issue, but I guess every option I have has a flaw TBH.  So C+A+F2 may be the best one.  Thanks.

  • [SOLVED] Unable to login to root unless it's through another account.

    I'm fairly inexperienced with Linux and am having a frustrating problem.
    I've forgotten my root password (oh boy) and am experiencing some weird problems attempting to reset it.
    I have other accounts, which I can log in to, and they have sudo privileges. So I am not very restricted as to what I can actually do.
    So I tried to use "passwd root" to change my root account password.
    This allowed me to log in to root (at least I believe it is root) using "su" and the newly created password.
    However, when I reboot and try to log in to root from the normal log in screen, it claims I'm using the wrong password.
    I also tried logging in to root using "su" and then using "passwd" to change the root password. I got the same results as before.
    I even tried removing the root password from the "etc/shadow" file, though I'm really not familiar with how that file works in archlinux.
    I've searched around online, and stumbled across some similar topics in this forum, but all of them have worked around the problem by using a boot disc in some way.
    I would really like to know what exactly is going on with my system here and why this password confusion is happening. If possible, I'd really really like to reset my root password remotely.
    If this has been addressed before and I missed it, please link me to the old topic.
    Thanks for reading guys. Any help is appreciated.
    Last edited by bluekirby (2011-04-05 04:55:20)

    bluekirby wrote:If there were any location where I could deny people from logging in as root, where would that file be?
    I'm really hoping it's just something I edited months ago and forgot about.
    Take a look to this topic:
    https://bbs.archlinux.org/viewtopic.php?id=67753
    And try this to reset the password:
    http://www.howtoforge.com/how-to-reset- … knoppix-p2
    After that, only the users who knows(and are listed on /etc/sudoers) the root password will be able to do root jobs, like installing/removing packages or modify the filesystem.
    Note that if you use sudo you can use visudo to edit /etc/sudoers command to prevent or allow users to do root jobs, example:
    root ALL=(ALL) ALL
    # %wheel ALL=(ALL) ALL
    If you uncomment %wheel line all users in wheel group can do root jobs if they know the root password.
    But you can leave commented %wheel line and add users manually, example(for "edward" and "christine" users):
    root ALL=(ALL) ALL
    # %wheel ALL=(ALL) ALL
    edward ALL=(ALL) ALL
    christine ALL=(ALL) ALL
    By doing this,these two users(through sudo) and root will be allowed to do root jobs and nobody else
    NOTE: Editing /etc/sudoers through visudo is hardly recommended, please dont edit the file manually with nano,vi,vim,etc. USE "visudo"
    P.S. Reseting the password through a live distro is the most recommended way to reset the root password.
    Last edited by AurosGamma (2011-04-05 04:31:34)

Maybe you are looking for

  • Goods Receipt for sales order stock

    Hi everybody, I want to receive materials for sales order stock. what I did: 1- Created a Purchase order, 2- Account Assignment = C 3- went to MIGO 4- selected PO number 5- set movement type 101 / E the SAP give error message that you have not planne

  • Trying to display an error message on my JSF page

    Hi, I'm very new to JSF and hopefully this will be easy to answer. I'm trying to display an error message when a user fails to login correctly. I have this on my login page: <h:message for="userid" id="inputError"></h:message> and in the login bean t

  • Bought Iphone need to create custom ringtones

    Well, i've read some of the posts before but its not seeming to help... I have garageband 3 and do not have the selection of "sending ringtone to itunes" since i do not have garageband08. So, the problem is that i create my song on garageband and the

  • Is it possible to anonymize my number?

    I would like to be able to anonyize my number when making outbound calls.....for example, my wife's phone will not send her number with first dialing an "82" before the dialed number so the other end can see her number.  Is this feature available?  H

  • Dual processors is it worth the money?

    I'm about to build a new PC to run PS5 Extended and wanted to know does PS run significantly faster with dual processors, or if anyone has tried it?