Re: User is not in the sudoers file
On Mon, 2023-05-08 at 17:08 -0600, Charles Curley wrote: > On Mon, 8 May 2023 17:27:24 +0200 > wrote: > > > (2) add your user to the sudo group. I'd prefer (2). > > usermod -a -G sudo Oh Good! Thanks for tip! Sincerely, Byung-Hee -- ^고맙습니다 _布德天下_ 감사합니다_^))//
Re: User is not in the sudoers file
On Mon, 8 May 2023 19:41:35 -0400 Greg Wooledge wrote: > Wanna be lazier? Nah. I'm too lazy to edit my script. :-) -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: User is not in the sudoers file
On Mon, May 08, 2023 at 05:08:44PM -0600, Charles Curley wrote: > On Mon, 8 May 2023 17:27:24 +0200 > wrote: > > > (2) add your user to the sudo group. I'd prefer (2). > > usermod -a -G sudo > > I'm lazy. I have that in a script. Wanna be lazier? In Debian, you can do it this way: adduser sudo
Re: User is not in the sudoers file
On Mon, 8 May 2023 17:27:24 +0200 wrote: > (2) add your user to the sudo group. I'd prefer (2). usermod -a -G sudo I'm lazy. I have that in a script. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: User is not in the sudoers file
On Mon, May 08, 2023 at 11:26:48AM -0400, Dan Purgert wrote: > On May 08, 2023, Igor Korot wrote: > > Hi, ALL, > > Is there a reason for the default install > > I immediately get the error in the subj? > > You likely created a root account during the initial setup. Doing that > skips over adding the first user (created during install) to sudoers > (i.e. "the operator created root, the operator will 'su root' when they > want to be root"). > > As I recall, the installer asks if you want to create root, or use sudo. Nitpick: root is always there. The question is whether it is given a password at installation or not. Cheers -- t signature.asc Description: PGP signature
Re: User is not in the sudoers file
On Mon, May 08, 2023 at 11:20:17AM -0400, Dan Ritter wrote: > Igor Korot wrote: > > Hi, ALL, > > Is there a reason for the default install > > I immediately get the error in the subj? > > > > Basically trying to run: > > > > [code] > > sudo apt-get install > > [/code] > > > Depending on the choices you made during installation, either: > > - root has a password and sudo is not installed > - root does not have a password and sudo is installed > > https://wiki.debian.org/DebianInstall > Check out "Post-Install Tips" Given the error message (see Subject), sudo seems to be installed. Cheers -- t signature.asc Description: PGP signature
Re: User is not in the sudoers file
Igor Korot wrote: > Hi, ALL, > Is there a reason for the default install > I immediately get the error in the subj? > > Basically trying to run: > > [code] > sudo apt-get install > [/code] Depending on the choices you made during installation, either: - root has a password and sudo is not installed - root does not have a password and sudo is installed https://wiki.debian.org/DebianInstall Check out "Post-Install Tips" -dsr-
Re: User is not in the sudoers file
On May 08, 2023, Igor Korot wrote: > Hi, ALL, > Is there a reason for the default install > I immediately get the error in the subj? You likely created a root account during the initial setup. Doing that skips over adding the first user (created during install) to sudoers (i.e. "the operator created root, the operator will 'su root' when they want to be root"). As I recall, the installer asks if you want to create root, or use sudo. -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860 signature.asc Description: PGP signature
Re: User is not in the sudoers file
On Mon, 8 May 2023 10:16:33 -0500 Igor Korot wrote: > Hi, ALL, > Is there a reason for the default install > I immediately get the error in the subj? > > Basically trying to run: > > [code] > sudo apt-get install > [/code] > > Thank you. > Sudi itself requires configuration as it does not by default allow privileges for any user. Here's the quick way in Debian: https://documentation.arcserve.com/Arcserve-UDP/Available/V6.5/ENU/Bookshelf_Files/HTML/Agent%20Online%20Help%20Linux/Content/AgentforLinuxUserGuide/udpl_config_sudo_debian.htm Here's more information about sudo, allowing much more flexibility than using the sudo group: https://wiki.archlinux.org/title/sudo The Arch Linux site is generally very useful for Debian users. -- Joe
Re: User is not in the sudoers file
On Mon, May 08, 2023 at 10:16:33AM -0500, Igor Korot wrote: > Hi, ALL, > Is there a reason for the default install > I immediately get the error in the subj? > > Basically trying to run: > > [code] > sudo apt-get install > [/code] See https://wiki.debian.org/sudo It seems you gave root a password. Now you have to become root once, the "traditional" way and either (1) edit the sudoers file to add your user, or (2) add your user to the sudo group. I'd prefer (2). Cheers -- t signature.asc Description: PGP signature
User is not in the sudoers file
Hi, ALL, Is there a reason for the default install I immediately get the error in the subj? Basically trying to run: [code] sudo apt-get install [/code] Thank you.