From 1466c23334fcc1c7026b1a87ca519fcbc2408732 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 24 Dec 2012 21:23:47 +0100 Subject: [PATCH] Hush login for the shell dropper user --- installer/slave/install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer/slave/install.py b/installer/slave/install.py index c41759d..3040476 100644 --- a/installer/slave/install.py +++ b/installer/slave/install.py @@ -211,6 +211,9 @@ if enable_dropper == "y": authkeys.write("%s\n" % pubkey) authkeys.close() sys.stdout.write("Installed public key for vz user.\n") + + setuplib.create_file("/home/vz/.hushlogin", "", vz_uid, vz_gid, "u+rwx") + sys.stdout.write("Hushed login for vz user.\n") # We're done with /etc/passwd and /etc/group passwd.close()