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

Re: armv7 vs buster sudo complains about hostname or something



On Thursday 04 July 2019 02:47:50 Andrei POPESCU wrote:

> On Mi, 03 iul 19, 20:26:48, Gene Heskett wrote:
> > On Wednesday 03 July 2019 18:06:18 John Paul Adrian Glaubitz wrote:
> > > Hi Gene!
> > >
> > > On 7/3/19 10:42 PM, Gene Heskett wrote:
> > > > Just one of the things its taken over. Now we have a different
> > > > command to set the hostname too if you want it to stick over a
> > > > reboot.  Someone a couple weeks ago showed me how to do that for
> > > > hostname only. I've no clue how it does that because it can do
> > > > it even if /etc/hostname has been made immutable. In fact I'd
> > > > call that a major security breech.
>
> I don't remember using hostnamectl on my Pine A64. For reference:
>
> /etc/hostname:
> pine64
>
> /etc/hosts:
> 192.168.0.64	pine64
> 127.0.0.1	localhost
>
> ::1		localhost ip6-localhost ip6-loopback
>
> ff02::1		ip6-allnodes
> ff02::2		ip6-allrouters
>
> > IF, note all caps, then why does sudo bitch so much?
>
> I seem to recall sudo cares about /etc/hosts.

But I have that address TAB hostname.domain.name TAB alias in the hosts 
file. No errors there.

> Kind regards,
> Andrei


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: