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

Re: rock64, date is UTC, how to make EST (s/b UTC-5)



OK, took a while to find this gem again.  In /lib/systemd/system/getty@service

In the [Service] section, replace

ExecStart=-/sbin/agetty --noclear %I $TERM
with
ExecStart=-/sbin/agetty --noclear -a root %I $TERM

That's it, very simple.  Affects all virtual consoles and X after startx

For X, if you're using lightdm there's a different method, that's
upstairs.  I have a Pi with the touch lcd screen which does autologin
as root, had to change a PAM file to do it (in Raspbian).



On 7/22/18, Mark Morgan Lloyd <markMLl.debian-arm@telemetry.co.uk> wrote:
> On 22/07/18 15:15, Gene Heskett wrote:
>> On Sunday 22 July 2018 10:11:04 Mark Morgan Lloyd wrote:
>>
>>> On 22/07/18 14:00, Gene Heskett wrote:
>>>> I have a bunch of locale related errors too.
>>>> Was a stretch-minimal install by ayufan, has xfce for desktop
>>>>
>>>> What am I missing?
>>>
>>> The traditional command for that was tzconfig, but these days it will
>>> tell you to run dpkg-reconfigure something...
>>>
>>> WARNING: the tzconfig command is deprecated, please use:
>>>    dpkg-reconfigure tzdata
>>
>> Worked a treat, thank you.
>
> It's regrettable that dpkg-reconfigure doesn't have something like a
> --list command which summarises the packages to which it may be applied,
> or even a --search which works by analogy with apt-cache etc.
>
> --
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>
> [Opinions above are the author's, not those of his employers or colleagues]
>
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach


Reply to: