On 3 April 2017 at 02:13, J William Piggott <elseifthen@xxxxxxx> wrote: > On 04/02/2017 04:14 AM, Sami Kerola wrote: >> Without this change an attempt to remove hostname printing required following >> rather clumsy agetty invocation. >> >> /sbin/agetty --nohostname --login-options '/bin/login -H -- \u' >> >> After the change --nohostname behaves similar way with --host option, that >> is when combined with --remote the effect is passed to login(1). >> >> In same go improve manual page a little bit. This includes small mistake in >> commit 01095ae33c that claimed option -r is added to command line when >> passing hostname login while it should have been -h. >> >> Signed-off-by: Sami Kerola <kerolasa@xxxxxx> >> --- >> term-utils/agetty.8 | 27 +++++++++++++++++---------- >> term-utils/agetty.c | 9 ++++++--- >> 2 files changed, 23 insertions(+), 13 deletions(-) >> >> diff --git a/term-utils/agetty.8 b/term-utils/agetty.8 >> index 40be8b46c..bdb1a7d35 100644 >> --- a/term-utils/agetty.8 >> +++ b/term-utils/agetty.8 >> @@ -90,18 +90,22 @@ Assume that the tty is 8-bit clean, hence disable parity detection. >> .TP >> \-a, \-\-autologin \fIusername\fP >> Log the specified user automatically in without asking for a login name and > > Hey Sami, since you're here you might want to fix this too? Hi JWP, Let me split the change in two: 1. --nohostname option forward + minimal manual change 2. manual page update Karel, please hold on with these three changes. I will push changes to a some branch in my git and tell when the stuff is fast forwardable. -- Sami Kerola http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html