- wrong orig code
This commit is contained in:
parent
9e1a698edf
commit
66eb83163f
@ -1,14 +1,13 @@
|
||||
diff -up Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init.namespace_homedir Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init
|
||||
--- Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init.namespace_homedir 2007-08-23 15:49:45.000000000 -0400
|
||||
+++ Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init 2007-08-23 15:51:56.000000000 -0400
|
||||
@@ -1,6 +1,23 @@
|
||||
diff -up Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init.homedir Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init
|
||||
--- Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init.homedir 2007-08-24 10:40:46.000000000 +0200
|
||||
+++ Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init 2007-08-24 15:33:52.000000000 +0200
|
||||
@@ -1,9 +1,24 @@
|
||||
#!/bin/sh -p
|
||||
-# This is only a boilerplate for the instance initialization script.
|
||||
-# It receives polydir path as $1 and the instance path as $2.
|
||||
+# It receives polydir path as $1 and the instance path as $2,
|
||||
+# $3 is an indicatory whether $2 is a newly created directory,
|
||||
+# $4 is the user who is logging in.
|
||||
+#
|
||||
# It receives polydir path as $1, the instance path as $2,
|
||||
# a flag whether the instance dir was newly created (0 - no, 1 - yes) in $3,
|
||||
# and user name in $4.
|
||||
#
|
||||
+# The following section will copy the contents of /etc/skel if this is a
|
||||
+# newly created home directory.
|
||||
+if [ "$3" = 1 ]; then
|
||||
@ -24,6 +23,7 @@ diff -up Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init.namespace_homed
|
||||
+ chmod ${mode:-700} "$homedir"
|
||||
+ fi
|
||||
+fi
|
||||
#
|
||||
+#
|
||||
# If you intend to polyinstantiate /tmp and you also want to use the X windows
|
||||
# environment, you will have to use this script to bind mount the socket that
|
||||
# is used by the X server to communicate with its clients. X server places
|
||||
|
Loading…
Reference in New Issue
Block a user