Remove Ubuntu legal notices
authorQuentin Smith <quentin@mit.edu>
Tue, 23 Dec 2014 06:21:29 +0000 (01:21 -0500)
committerQuentin Smith <quentin@mit.edu>
Tue, 23 Dec 2014 06:21:29 +0000 (01:21 -0500)
debian/changelog
debian/transform_sshd.invirt

index 52e04b5..edcb652 100644 (file)
@@ -1,3 +1,9 @@
+invirt-console (0.2.20) unstable; urgency=low
+
+  * Remove Ubuntu legal notices from ssh logins.
+
+ -- Quentin Smith <quentin@mit.edu>  Tue, 23 Dec 2014 01:19:29 -0500
+
 invirt-console (0.2.19) precise; urgency=low
 
   * invirt-console-server should depend on invirt-ssh-config, not
index 9813498..3d0ff1c 100755 (executable)
@@ -8,4 +8,4 @@ echo 'auth    [success=1 ignore=ignore default=ignore module_unknown=die]   pam_
 echo "# print the \"your account doesn't exist\" error:"
 echo 'auth    [success=die ignore=reset default=die module_unknown=die]     pam_echo.so file=/etc/issue.net.no_user'
 echo
-exec sed -e 's/pam_motd.so/pam_motd.so noupdate/g'
+exec sed -e 's/pam_motd.so/pam_echo.so file=\/etc\/motd/g'