I am interested in a version of LMDE with KDE, which I understand is being prepared.
Then I'd rather have the root account active since installation, the reason for my request is explained in brief the following link. (http://elliottback.com/wp/sudo-make-me-a-sandwich/).
Therefore, I ask if you can in the time of installation, to choose whether to enable sudo, or root account.
Thanks for your attention
Hello.
sudo and root account
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
sudo and root account
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: sudo and root account
The Linux Mint installer does not include the option to change from sudo to requiring a root user account. If you want to write your own installer, you can change that.
If you don't want to go that far, you can enable the root user by simply enter in the terminal, not typing in the $ of course:
To then remove your user account from the sudoers list, first login to root, then type: username should be replaced by your account name and the #'s indicate the root prompt in terminal.
If you don't perform the second part of the instructions, you can still use sudo from your ordinary account.
If you don't want to go that far, you can enable the root user by simply enter in the terminal, not typing in the $ of course:
Code: Select all
$ sudo passwd root
Code: Select all
# deluser username admin
# deluser username sudo
If you don't perform the second part of the instructions, you can still use sudo from your ordinary account.
Re: sudo and root account
Unfortunately I was not able to modify the installer and I hope that kind of option is added.cwsnyder wrote:The Linux Mint installer does not include the option to change from sudo to requiring a root user account. If you want to write your own installer, you can change that.
These two commands do not know them and I thank you for telling revealed.cwsnyder wrote:If you don't want to go that far, you can enable the root user by simply enter in the terminal, not typing in the $ of course:To then remove your user account from the sudoers list, first login to root, then type:Code: Select all
$ sudo passwd root
username should be replaced by your account name and the #'s indicate the root prompt in terminal.Code: Select all
# deluser username admin # deluser username sudo
I had found in Linux Mint and forums at the following link http://man.he.net/man8/sudo_root this explanation:
GOING BACK TO A TRADITIONAL ROOT ACCOUNT
This is not recommended!
To enable the root account (i.e. set a password) use:
sudo passwd root
Afterwards, edit the sudo configuration with sudo visudo and comment
out the line
%admin ALL=(ALL) ALL
to disable sudo access to members of the admin group.
Do you think that the mutation is complete?
Thank you.
Re: sudo and root account
That really depends on your definition of complete.
According to my reading of the documentation, not removing the username from the SUDO group means that username can still use anyone other than root's privileges.
According to my reading of the documentation, not removing the username from the SUDO group means that username can still use anyone other than root's privileges.