A page in your DokuWiki was added or changed. Here are the details: Date : 2017/02/13 17:02 Browser : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 IP-Address : 78.43.90.159 Hostname : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de Old Revision: http://wiki.x2go.org/doku.php/doc:howto:x2gobroker?rev=1486999956 New Revision: http://wiki.x2go.org/doku.php/doc:howto:x2gobroker Edit Summary: Whitespace/Syntax fixes User : stefanbaur @@ -229,9 +229,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ @@ -244,9 +244,9 @@ echo "COMMENT: This automagically injects all local users, groups, etc. into LDAP" ;\ echo "COMMENT: Yes, this is a mess, ugly, a dirty hack, etc - but remember, this isn't" ;\ echo "COMMENT: about maintainability - it is to get a small, simple, static LDAP setup up" ;\ echo "COMMENT: and running so you don't have to bother with LDAP when all you want to do is" ;\ - echo "COMMENT: test-drive the broker setup." \; + echo "COMMENT: test-drive the broker setup." ;\ echo '(cd /usr/share/migrationtools && LDAP_BASEDN="dc=x2go,dc=example,dc=com" LDAPHOST="ldap1" LDAP_BINDDN="cn=admin,dc=x2go,dc=example,dc=com" LDAP_BINDCRED="start" LDAP_PROFILE="no" LDAPADD="/usr/bin/ldapadd -c" ETC_ALIASES=/dev/null ./migrate_all_online.sh || true)' >>/target/etc/rc.local ;\ echo "COMMENT: This is the cleanup job for the LDAP migration, so it doesn't run more than once." ;\ echo 'sed -i -e "/LDAP/d" /etc/rc.local' >>/target/etc/rc.local ;\ echo "COMMENT: This is so /bin/sh points to /bin/bash instead of /bin/dash" ;\ @@ -486,9 +486,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ @@ -702,9 +702,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ @@ -950,9 +950,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ @@ -1005,11 +1005,11 @@ echo "COMMENT: As the standard shell of our LDAP users is set to /bin/sh." ;\ echo 'dpkg-reconfigure -pcritical dash' >>/target/etc/rc.local ;\ echo "COMMENT: This is the cleanup job for the dpkg-reconfigure call, so it doesn't run more than once." ;\ echo 'sed -i -e "/dpkg/d" /etc/rc.local' >>/target/etc/rc.local ;\ - echo "COMMENT: We're cheating here:" \n - echo "COMMENT: We're calling the pubkeyauthorizer on x2gobroker, rather than from each x2goserver." \; - echo "COMMENT: That way, we don't have to open :8080 for anything more than localhost." \; + echo "COMMENT: We're cheating here:" ;\ + echo "COMMENT: We're calling the pubkeyauthorizer on x2gobroker, rather than from each x2goserver." ;\ + echo "COMMENT: That way, we don't have to open :8080 for anything more than localhost." ;\ echo 'x2gobroker-pubkeyauthorizer --broker-url http://localhost:8080/pubkeys/' >>/target/etc/rc.local ;\ echo "COMMENT: Now we create a directory (watch permissions/ownership!) on the NFS share, and dump the generated key file there." ;\ echo 'mkdir -p /home/root/x2gobroker' >>/target/etc/rc.local ;\ echo 'chmod 700 /home/root #x2gobroker' >>/target/etc/rc.local ;\ @@ -1246,9 +1246,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ @@ -1529,9 +1529,9 @@ echo "export LANG=de_DE.UTF-8" >>/target/etc/bash.bashrc ;\ echo "export NCURSES_NO_UTF8_ACS=1" >>/target/etc/bash.bashrc ;\ echo "COMMENT: This is for homedir autocreation." ;\ echo -e 'session required\tpam_mkhomedir.so\tskel=/etc/skel umask=0022' >>/target/etc/pam.d/common-session ;\ - echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ + echo "COMMENT: This is so LDAP users are added to local groups when logging in to a remote system." ;\ echo -e "auth\trequired\tpam_group.so\tuse_first_pass" >>/target/etc/pam.d/common-auth ;\ echo "*;*;*;Al0000-2400;users,x2gousers,x2gobroker-users" >>/target/etc/security/group.conf ;\ echo "COMMENT: This makes sure error messages during bootup remain on screen." ;\ sed -i -e '/^1/ s/getty/getty --noclear/' /target/etc/inittab ;\ -- This mail was generated by DokuWiki at http://wiki.x2go.org/