Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: John-Paul Stewart Newsgroups: comp.os.linux.misc Subject: Re: "7 deprecated Linux commands you need to stop using - and what to use instead" Date: Fri, 23 Jan 2026 18:51:35 -0500 Lines: 10 Message-ID: References: <10k93b3$9rp0$1@dont-email.me> <10l10gd$bhda$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 9jMfI2si1nZivH0A/cV8BAgi9xip0Tz6lyYyExNAzDA2rnsWXP Cancel-Lock: sha1:EsguX90ZgqHBca5DA3V4iQe9gVI= sha256:2Z2s/rcNTI6N+lWrTLtS2u2+Mz1k7FIwmOMIl4kWPTw= User-Agent: Mozilla Thunderbird Content-Language: en-CA In-Reply-To: <10l10gd$bhda$1@dont-email.me> Xref: csiph.com comp.os.linux.misc:81578 On 2026-01-23 6:33 p.m., Nuno Silva wrote: > > What's still puzzling me here is that passwd and shadow are under /etc, > so... login should work regardless of /home being mounted or not? It depends on the setting of DEFAULT_HOME in /etc/login.defs. If it is set to "no" the login attempt will fail in the absence of their home directory. If set to "yes", the login attempt will succeed and the user will land in / instead of $HOME. So the behaviour can be controlled by the system administrator.