[kwlug-disc] Debian problem
CrankyOldBugger
crankyoldbugger at gmail.com
Mon May 6 09:38:59 EDT 2024
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.
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...
Thanks to all for the help!
On Mon, 6 May 2024 at 09:29, CrankyOldBugger <crankyoldbugger at gmail.com>
wrote:
> 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.
>
> 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.
>
>
> On Mon, 6 May 2024 at 09:21, Bob B via kwlug-disc <kwlug-disc at kwlug.org>
> wrote:
>
>> Cranky,
>>
>> I believe that if you enable login as root during the install process,
>> it does not put the user you create into sudo.
>>
>> As such, you just need to 'su -' from the user account (with root's
>> password for authentication) and then you can add yourself to the sudo
>> group.
>>
>> IF you do not enable login as root, Deabin will automagically put you
>> into the sudo group.
>>
>> Bob.
>>
>> On 5/6/24 08:49, CrankyOldBugger wrote:
>> > So I'm getting a bit tired of the way Ubuntu is leading us down the
>> > garden path with their various requirements, like Snap, etc.
>> >
>> > So I thought I'd try Debian. I made a virtual machine, installed the
>> > latest version "Bookworm", and everything installed fine.
>> >
>> > But.. I can log in as myself, but I'm not in the sudoers file, so I
>> > can't elevate to root. There was no option (that I could see) in the
>> > installation to make myself a sudo group user.
>> >
>> > So I tried login as root, and sure enough, root can't login (neither
>> > from the GUI login, or via SSH). So I'm in a Catch-22, where I can't
>> > become root, I can't login as root, but I need to be root to fix those
>> > two things...
>> >
>> > Are there any Debian guys out there who know how to get around this?
>> >
>> >
>> >
>> > _______________________________________________
>> > kwlug-disc mailing list
>> > To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
>> > with the subject "unsubscribe", or email
>> > kwlug-disc-owner at kwlug.org to contact a human being.
>>
>>
>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
>> with the subject "unsubscribe", or email
>> kwlug-disc-owner at kwlug.org to contact a human being.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20240506/07962157/attachment.htm>
More information about the kwlug-disc
mailing list