Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see:
viewtopic.php?t=158230
New to Debian (Or Linux in general)? Ask your questions here!
hthi
Posts: 213 Joined: 2015-05-09 15:43
Has thanked: 1 time
#1
Post
by hthi » 2019-07-09 19:42
debian 10
On debian 9 64bit it worked. On debian 10 it does not. I tried
Code: Select all
su
sudo su
adduser 'user name' sudo
Is that how you get a user sudo? Thanks.
None1975
df -h | participant
Posts: 1398 Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times
#3
Post
by None1975 » 2019-07-10 16:30
hthi wrote: Is that how you get a user sudo? Thanks.
Install sudo:
Configure sudo
After being added to a new group the user must log out and then log back in again for the new group to take effect.
debian-2019
Posts: 39 Joined: 2019-03-20 18:25
Has thanked: 5 times
Been thanked: 4 times
#4
Post
by debian-2019 » 2019-07-12 16:06
Here is a method that works for me when adding a user to the sudoer group:
1) In the terminal,
2) After the visudo command, find the line that says
3) Under that line add the code below (assuming
myusername is the user name)
4) exit root
vmclark
Posts: 187 Joined: 2008-07-30 15:16
Has thanked: 1 time
#6
Post
by vmclark » 2019-07-14 21:17
It appears to be a two step process:
1)adduser 'user' sudo
2) visudo
Its been years since I last installed debian. I was expecting this info to be in a How-To somewhere.
Thanks for this topic.
debian-2019
Posts: 39 Joined: 2019-03-20 18:25
Has thanked: 5 times
Been thanked: 4 times
#7
Post
by debian-2019 » 2019-07-15 18:59
Head_on_a_Stick wrote:
You don't need to change PATH if you call the
su command correctly, did you not see 4D696B65's post?
I didn't know that. Thanks for the tip!
hthi
Posts: 213 Joined: 2015-05-09 15:43
Has thanked: 1 time
#8
Post
by hthi » 2019-07-15 20:07
Thanks.
apt install sudo
sudo is installed from the iso.