[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wheezy: adding myself to the sudo group using usermod



SORRY :)

On 4/4/19, Cindy Sue Causey <butterflybytes@gmail.com> wrote:
> On 4/4/19, rhkramer@gmail.com <rhkramer@gmail.com> wrote:
>> (On Wheezy) I've been trying to add myself to the sudo group with the
>> usermod
>> command.
>>
>> As root, I've tried most of the permutations of this:
>>
>> usermod -a -G sudo <username>
>>
>> None of them have worked -- any suggestions?
>>
>> (I have checked using groups (as username), and even have opened fresh
>> terminals.  Hmm, maybe I have to reboot?  I hope not, I don't want to do
>> that
>> in the near future.)
>
>
> Hi.. It took about 5 times of reading what you wrote before I
> remembered that I don't have to "reboot", but I do have to *logout*
> for changes like that to take hold. The DIFFERENCE is that I use
> "adduser" to make those kinds of changes:
>
> And, yes, I know... logging out might as well be rebooting depending
> on what kind of work we have opened across our desktops. :)
>
> K/t having learned of adduser while debootstrap'ing, I use:
>
> adduser <username> sudo
>
> If you go looking for adduser and don't find it for Wheezy, see if
> useradd is there for you. Possibly maybe even installed already?
>
> *My understanding* is that adduser and useradd do similar things.
> Chatter on the Net over time *seems* to be saying that adduser maybe
> [embellishes] a little...
>
> Or something like that.
>
> PS I'm not finding either usermod OR useradd via a quick "apt-cache
> search" of Debian _Buster_ "main" repository. Seems like I remember
> seeing chatter about that, too, along the way.


*NEVER MIND*

As soon as I hit send, I thought to double-tab on "user" while in "su
-". Useradd's there. Userdel... Usermod............

Just not having the best of cognitive days today... :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed *


Reply to: