[pve-devel] [PATCH container] setup: check if securetty exists
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed May 11 16:52:40 CEST 2016
On 05/11/2016 04:40 PM, Dietmar Maurer wrote:
>> On 05/11/2016 04:12 PM, Dietmar Maurer wrote:
>>>> If securetty does not exists yet
>>> stupid question, but is that file required? I.e. is login blocked
>>> if the file does not exists?
>> Normally all tty's are allowed when the file is missing and none if its
>> there and empty, but I guess this can be distro depend (Alpine and
>> RedHat does it this way).
> I think we should not create the file if it is not required. Please can you
> adopt the patch?
So if not already there let it be so and if there add the respective
ttys? Ok, will do.
Single problem I can imagine is that someone then creates the securetty
file later on and forgets adding the lxc/console lxc/ttyX as they are
not that intuitive.
Should not happen to often, though.
More information about the pve-devel
mailing list