Mailinglist Archive: opensuse (911 mails)

< Previous Next >
[opensuse] Re: Logging in as root an Leap
On Fri, 11 Dec 2015 21:33, Darryl Gregorash <raven@...> wrote:
Koenraad Lelong wrote:
Hi,

Is it possible to log in as root just after booting ? I only get my
non-root user as a possible user.
On OS13.2 and before there was a possibility to type the username. Now it
seems you can only graphically select users, and root is not available
(that I know of).

Thanks,

Koenraad.
Good grief, what an awful lot of noise over what is no one else's business.

If you are using SDDM as the login manager, edit /etc/sddm.conf to add the following lines:

[Users]
HideShells=/usr/sbin/nologin,/bin/false
MinimumUid=0
MaximumUid=65000

If any system users show up in the splash screen, you will need to add a "HideUsers=" line to exclude those.

Any other login manager should follow the system rules; if you can su to the root account, you should be able to log in as root to the desktop. You might need to verify that root logins are allowed in Yast/User and Group Management.

To exclude the usual suspects, start with two lines of:

HideUsers=at,bin,daemon,ftp,games,lp,man,news,nobody,uucp
HideShells=/bin/false,/sbin/nologin,/usr/sbin/nologin

- Yamaban

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups