The officially official Devuan Forum!

You are not logged in.

#1 2018-08-10 14:39:01

GNUser
Member
Registered: 2017-03-16
Posts: 363  

[SOLVED] refractainstaller: confused about sudo options

At the new hostname and new username step of refractainstaller, it asks three questions about sudo. I'm a little bit confused as to what the questions are getting at.

"Permit sudo for new user?"
This is pretty clear to me.

"Use sudo as default for new user?"
I'm not sure what this means.
Checking this box will cause sudo to be used in the new installation in which situations?
Default for what?

"Use sudo only for shutdown?"
Does this mean sudo is enabled for user but only for shutdown command?
Does checking this box contradict checking the boxes for questions 1 and/or 2?

Last edited by GNUser (2018-08-13 16:42:12)

Offline

#2 2018-08-12 19:40:09

fsmithred
Administrator
Registered: 2016-11-25
Posts: 790  

Re: [SOLVED] refractainstaller: confused about sudo options

The wording in the cli installer is better than in the graphical.

	1) Disable sudo (recommended)
	2) Permit sudo for new user (and keep root account.)
	3) Use sudo as default for new user (and disable root account.)
	4) Use sudo only for shutdown (and keep root account.)

#2 and #3 put the primary user in the sudo group, so all admin commands are available.
#4 adds a file to /etc/sudoers.d/ to let the user reboot, shutdown, suspend or hibernate.

Edit: I just made a note to myself to fix the wording in the graphical installer.

Offline

#3 2018-08-12 19:43:32

GNUser
Member
Registered: 2017-03-16
Posts: 363  

Re: [SOLVED] refractainstaller: confused about sudo options

Thank you, fsmithred. Yes, the cli installer explains it better. I get it now.

I think I screwed up an install I did recently: I checked off both 2 and 3. Does that mean root account is disabled on that machine? If so, how do I re-enable it?

Offline

Board footer