summaryrefslogtreecommitdiff
path: root/packages/base-passwd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base-passwd')
-rw-r--r--packages/base-passwd/.mtn2git_empty0
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/.mtn2git_empty0
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/configure.patch23
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/nobash.patch13
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/openslug/.mtn2git_empty0
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/openslug/README13
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/openslug/root-home.patch8
-rw-r--r--packages/base-passwd/base-passwd-3.5.9/root-home.patch8
8 files changed, 65 insertions, 0 deletions
diff --git a/packages/base-passwd/.mtn2git_empty b/packages/base-passwd/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/base-passwd/.mtn2git_empty
diff --git a/packages/base-passwd/base-passwd-3.5.9/.mtn2git_empty b/packages/base-passwd/base-passwd-3.5.9/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/base-passwd/base-passwd-3.5.9/.mtn2git_empty
diff --git a/packages/base-passwd/base-passwd-3.5.9/configure.patch b/packages/base-passwd/base-passwd-3.5.9/configure.patch
index e69de29bb2..a9adb1e9e2 100644
--- a/packages/base-passwd/base-passwd-3.5.9/configure.patch
+++ b/packages/base-passwd/base-passwd-3.5.9/configure.patch
@@ -0,0 +1,23 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- base-passwd/configure.in~configure
++++ base-passwd/configure.in
+@@ -1,5 +1,6 @@
+ dnl Initialize the autoconf process
+-AC_INIT(update-passwd.c)
++AC_INIT
++AC_CONFIG_SRCDIR([update-passwd.c])
+ AC_CONFIG_HEADER(config.h)
+ AC_PREFIX_DEFAULT(/usr)
+
+@@ -12,5 +13,6 @@
+ AC_CHECK_FUNCS(putgrent)
+
+ dnl Finally output everything
+-AC_OUTPUT(Makefile)
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
+
diff --git a/packages/base-passwd/base-passwd-3.5.9/nobash.patch b/packages/base-passwd/base-passwd-3.5.9/nobash.patch
index e69de29bb2..2bde9bf33b 100644
--- a/packages/base-passwd/base-passwd-3.5.9/nobash.patch
+++ b/packages/base-passwd/base-passwd-3.5.9/nobash.patch
@@ -0,0 +1,13 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- base-passwd/passwd.master~nobash
++++ base-passwd/passwd.master
+@@ -1,4 +1,4 @@
+-root::0:0:root:/root:/bin/bash
++root::0:0:root:/root:/bin/sh
+ daemon:*:1:1:daemon:/usr/sbin:/bin/sh
+ bin:*:2:2:bin:/bin:/bin/sh
+ sys:*:3:3:sys:/dev:/bin/sh
diff --git a/packages/base-passwd/base-passwd-3.5.9/openslug/.mtn2git_empty b/packages/base-passwd/base-passwd-3.5.9/openslug/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/base-passwd/base-passwd-3.5.9/openslug/.mtn2git_empty
diff --git a/packages/base-passwd/base-passwd-3.5.9/openslug/README b/packages/base-passwd/base-passwd-3.5.9/openslug/README
index e69de29bb2..05c2e419f5 100644
--- a/packages/base-passwd/base-passwd-3.5.9/openslug/README
+++ b/packages/base-passwd/base-passwd-3.5.9/openslug/README
@@ -0,0 +1,13 @@
+This patch overrides the root-home.patch for DISTRO=openslug
+
+The patch sets a root password on /etc/passwd, this password is
+
+opeNSLUg
+
+This allows ssh (dropbear) login to an OpenSlug NSLU2 using that
+password.
+
+The password is NO MORE SECURE than the previous empty string,
+however, because ssh logins can now succeed the NSLU2 is LESS
+secure! This password must be changed as soon as possible after
+initial configuration of the NSLU2.
diff --git a/packages/base-passwd/base-passwd-3.5.9/openslug/root-home.patch b/packages/base-passwd/base-passwd-3.5.9/openslug/root-home.patch
index e69de29bb2..0634492615 100644
--- a/packages/base-passwd/base-passwd-3.5.9/openslug/root-home.patch
+++ b/packages/base-passwd/base-passwd-3.5.9/openslug/root-home.patch
@@ -0,0 +1,8 @@
+--- base-passwd/passwd.master.orig 2005-03-21 10:16:56.000000000 +0100
++++ base-passwd/passwd.master 2005-03-21 10:17:04.000000000 +0100
+@@ -1,4 +1,4 @@
+-root::0:0:root:/root:/bin/sh
++root:Xm./49bYkrkuo:0:0:root:/home/root:/bin/sh
+ daemon:*:1:1:daemon:/usr/sbin:/bin/sh
+ bin:*:2:2:bin:/bin:/bin/sh
+ sys:*:3:3:sys:/dev:/bin/sh
diff --git a/packages/base-passwd/base-passwd-3.5.9/root-home.patch b/packages/base-passwd/base-passwd-3.5.9/root-home.patch
index e69de29bb2..be2d9ec6a9 100644
--- a/packages/base-passwd/base-passwd-3.5.9/root-home.patch
+++ b/packages/base-passwd/base-passwd-3.5.9/root-home.patch
@@ -0,0 +1,8 @@
+--- base-passwd/passwd.master.orig 2005-03-21 10:16:56.000000000 +0100
++++ base-passwd/passwd.master 2005-03-21 10:17:04.000000000 +0100
+@@ -1,4 +1,4 @@
+-root::0:0:root:/root:/bin/sh
++root::0:0:root:/home/root:/bin/sh
+ daemon:*:1:1:daemon:/usr/sbin:/bin/sh
+ bin:*:2:2:bin:/bin:/bin/sh
+ sys:*:3:3:sys:/dev:/bin/sh