<div dir="ltr"><div>OK, Bob figured it out.  Instead of my usual 'sudo su -' or 'sudo bash', a simple 'su -' does the trick.  Enter my password and immediately! change my account's group memberships.</div><div><br></div><div>I admit I never really cared about the differences between sudo su -, sudo bash, su -, and the various other incantations.  sudo su - has always worked for me, until today...</div><div></div><div><br></div><div>Thanks to all for the help!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 6 May 2024 at 09:29, CrankyOldBugger <<a href="mailto:crankyoldbugger@gmail.com">crankyoldbugger@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I know that Ubuntu doesn't allow login as root, but at least the Ubuntu installer has a little checkbox "make this user an administrator" when you're setting up your user account.</div><div><br></div><div>I can re-run the installer to see if my eyes missed something, but it was a very simple follow-the-bouncing-ball type of installer app.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 6 May 2024 at 09:21, Bob B via kwlug-disc <<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Cranky,<br>
<br>
I believe that if you enable login as root during the install process, <br>
it does not put the user you create into sudo.<br>
<br>
As such, you just need to 'su -' from the user account (with root's <br>
password for authentication) and then you can add yourself to the sudo <br>
group.<br>
<br>
IF you do not enable login as root, Deabin will automagically put you <br>
into the sudo group.<br>
<br>
Bob.<br>
<br>
On 5/6/24 08:49, CrankyOldBugger wrote:<br>
> So I'm getting a bit tired of the way Ubuntu is leading us down the <br>
> garden path with their various requirements, like Snap, etc.<br>
><br>
> So I thought I'd try Debian.  I made a virtual machine, installed the <br>
> latest version "Bookworm", and everything installed fine.<br>
><br>
> But..  I can log in as myself, but I'm not in the sudoers file, so I <br>
> can't elevate to root.  There was no option (that I could see) in the <br>
> installation to make myself a sudo group user.<br>
><br>
> So I tried login as root, and sure enough, root can't login (neither <br>
> from the GUI login, or via SSH).  So I'm in a Catch-22, where I can't <br>
> become root, I can't login as root, but I need to be root to fix those <br>
> two things...<br>
><br>
> Are there any Debian guys out there who know how to get around this?<br>
><br>
><br>
><br>
> _______________________________________________<br>
> kwlug-disc mailing list<br>
> To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
> with the subject "unsubscribe", or email<br>
> <a href="mailto:kwlug-disc-owner@kwlug.org" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
</blockquote></div>