LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-24-2018, 02:38 PM   #1
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Rep: Reputation: Disabled
( Debian ) How to change login screen, so that I can log to root.


Please no silly comments about the dangerous boogyman. Used Properly root Is quite safe. I have been using root now about twenty years with no problems.

So if anyone can tell me how to change the login screen to accommodate logging into root I would be most grateful. root is already activated with passwd.

Thankyou BurnieS
 
Old 12-24-2018, 03:41 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,588
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
You don't say what display manager you are using, but most of them have a config file in /etc that you can edit to allow root logins. Or you can set a non-graphical runlevel, log in at a console in any name you like and then use startx.

You might find some guidelines here. Though this is Fedora, lxdm is a display manager that Debian often uses too.

I wouldn't do it, but your system, your rules.
 
1 members found this post helpful.
Old 12-24-2018, 08:37 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,330
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
What Hazel says about runlevels does not apply to Debian. Debian considers runlevels 2-4 to be the same, as composed to, for example, Slackware, in which runlevel 3 boots to the command line and runlevel 4 boots to a graphical display manager.

Before SystemD there was a little script you could install and run to enable traditional boot levels in Debian with the sysv init system, but it didn't work with SystemD. It was called something like "sysvrcinit" or something close to that and worked like a charm.

A web search for systemd debian boot to command line turns up a number of articles that might help in a SystemD environment, but I haven't tested any of them (that's why I'm posting the search link so you can check them out).

Last edited by frankbell; 12-24-2018 at 08:49 PM.
 
Old 12-24-2018, 09:27 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
A wise (???) man once told me:

Quote:
So, first execute in a terminal

sudo passwd root

you will be prompted for a new Unix password. Write it twice (second for confirmation).

Then execute

sudo passwd -u root

to unlock the account. This should return

passwd: password expiry information changed
 
Old 12-25-2018, 06:04 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,588
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Earlier implementations of systemd had a graphical.target and a multiuser.target with a default.target which was a symlink to one of them. That let you set your own default, much as you used to do by editing inittab. But I've just checked my own Debian 9 (that's Squeeze I think) and it doesn't have those any more. It's all become much more complicated and automatic. Grrr!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to log internal-sftp chroot jailed users access log to /var/log/sftp.log file LittleMaster Linux - Server 0 09-04-2018 03:45 PM
Can not change user to root with "su" or login as root anymore d1s4st3r *BSD 3 05-05-2010 07:43 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
FC3 - Can't change resolution on signon screen or root login with riva128 video card mackayr Fedora 2 02-07-2005 12:06 PM
Change Fedora Login Screen to KDE login screen ada601 Linux - Software 2 08-15-2004 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration