Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #223230
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: KDE run Dolphin as root? |
| Date | 2020-06-08 08:10 +0200 |
| Message-ID | <Afj8R-194-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <AeOy5-7M1-3@gated-at.bofh.it> <AeOHM-7Pa-5@gated-at.bofh.it> <AePDQ-8pU-5@gated-at.bofh.it> <AeRYZ-1wI-5@gated-at.bofh.it> <Af99v-3oK-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Du, 07 iun 20, 21:21:07, Marco Möller wrote:
>
> Yes, design options exist. However, I never tried out if the user root could
> be blocked by the graphical session manager only, in the case of KDE usually
> sddm is in use. But I know that the login of user root can be blocked in
> general: when nowadays installing Debian, then there is offered to keep the
> root account deactivated, which is achieved by simply not assigning it a
> password but to leave the root's password empty and then activating the sudo
> mechanism for the during installation created normal user. Then the login as
> user root is disabled in general, not applying only to GUI login but also to
> text terminal login. As a consequence it is always required to log in as a
> normal user and using the command sudo would be the way to run commands with
> root permissions. The deactivation of the root account could also be
> achieved later on, any time, not only during installation of the system, by
> changing the password of user root to an empty string.
Careful, an empty password is not the same as a disabled password (see
'man shadow'). The command 'passwd' will not even accept to change a
password to an empty one.
To lock the password for an account use 'passwd -l'.
> But I am afraid that
> you then will have to care yourself to set up sudo properly when still
> possible to do so as user root.
In Debian's default configuration members of group 'sudo' have sudo
access, so all you need is:
adduser my_user_name sudo
As far as I know the installer does the equivalent of that.
> Interestingly, although having disabled the root account during installation
> and having sudo automatically configured during installation, it by default
> appears to still be allowed to run command "sudo su -", which still lets you
> run a root terminal once you have been logged in as the normal user and
> knowing the user's password needed to use sudo!
Warning, useless use of 'sudo su -' :)
There is no need for that, use 'sudo -i' ;)
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
KDE run Dolphin as root? Default User <hunguponcontent@gmail.com> - 2020-06-05 23:10 +0200
Re: KDE run Dolphin as root? Default User <hunguponcontent@gmail.com> - 2020-06-06 23:30 +0200
Re: KDE run Dolphin as root? Paul Johnson <baloo@ursamundi.org> - 2020-06-06 23:40 +0200
Re: KDE run Dolphin as root? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-07 00:40 +0200
Re: KDE run Dolphin as root? Keith bainbridge <keithrbau@gmail.com> - 2020-06-07 03:10 +0200
Re: KDE run Dolphin as root? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-07 21:30 +0200
Re: KDE run Dolphin as root? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-08 08:10 +0200
Re: KDE run Dolphin as root? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-08 13:40 +0200
Re: KDE run Dolphin as root? Default User <hunguponcontent@gmail.com> - 2020-06-10 00:00 +0200
Re: KDE run Dolphin as root? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-10 08:40 +0200
Re: KDE run Dolphin as root? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-10 10:20 +0200
Re: KDE run Dolphin as root? Default User <hunguponcontent@gmail.com> - 2020-06-14 22:30 +0200
Re: KDE run Dolphin as root? "Gary L. Roach" <garyroach719.lists@gmail.com> - 2020-06-15 21:50 +0200
Re: KDE run Dolphin as root? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-15 22:10 +0200
Re: KDE run Dolphin as root? <tomas@tuxteam.de> - 2020-06-15 22:20 +0200
Re: KDE run Dolphin as root? Keith bainbridge <keithrbau@gmail.com> - 2020-06-16 01:00 +0200
Re: KDE run Dolphin as root? <tomas@tuxteam.de> - 2020-06-16 09:30 +0200
Re: KDE run Dolphin as root? "Gary L. Roach" <garyroach719.lists@gmail.com> - 2020-06-17 01:40 +0200
Re: KDE run Dolphin as root? didier.gaumet@gmail.com - 2020-06-17 10:40 +0200
Re: KDE run Dolphin as root? <tomas@tuxteam.de> - 2020-06-16 09:30 +0200
Re: KDE run Dolphin as root? "Gary L. Roach" <garyroach719.lists@gmail.com> - 2020-06-17 02:00 +0200
Re: KDE run Dolphin as root? didier.gaumet@gmail.com - 2020-06-17 10:30 +0200
Re: KDE run Dolphin as root? <tomas@tuxteam.de> - 2020-06-17 11:00 +0200
Re: KDE run Dolphin as root? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-19 05:00 +0200
Re: KDE run Dolphin as root? <tomas@tuxteam.de> - 2020-06-19 10:00 +0200
Re: KDE run Dolphin as root? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-20 16:50 +0200
Re: KDE run Dolphin as root? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-16 09:30 +0200
Re: KDE run Dolphin as root? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-06-07 00:20 +0200
Re: KDE run Dolphin as root? Kushal Kumaran <kushal@locationd.net> - 2020-06-07 03:20 +0200
Re: KDE run Dolphin as root? Default User <hunguponcontent@gmail.com> - 2020-06-07 05:00 +0200
Re: KDE run Dolphin as root? Kushal Kumaran <kushal@locationd.net> - 2020-06-07 06:20 +0200
Re: KDE run Dolphin as root? Keith bainbridge <keithrbau@gmail.com> - 2020-06-07 07:20 +0200
Re: KDE run Dolphin as root? David Wright <deblis@lionunicorn.co.uk> - 2020-06-07 06:50 +0200
csiph-web