Changeset 567
- Timestamp:
- 11/08/09 13:33:13 (2 years ago)
- Location:
- client/linuxmuster-client/trunk
- Files:
-
- 2 added
- 3 deleted
- 14 edited
-
common/templates/etc/pam.d/common-auth (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
-
debian/config (deleted)
-
debian/install (modified) (2 diffs)
-
debian/po/de.po (modified) (1 diff)
-
debian/postinst (modified) (4 diffs)
-
debian/templates (modified) (1 diff)
-
etc/Default (deleted)
-
etc/config (modified) (1 diff)
-
etc/profile.exclude (modified) (1 diff)
-
etch (deleted)
-
hardy/templates/etc/security/group.conf (modified) (1 diff)
-
jaunty/templates/etc/pam.d/common-auth (modified) (1 diff)
-
jaunty/templates/etc/security/group.conf (modified) (1 diff)
-
share/config (modified) (1 diff)
-
share/configure (added)
-
share/copy-template.sh (added)
-
share/mount.sh (modified) (6 diffs)
-
share/supported_distros (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
client/linuxmuster-client/trunk/common/templates/etc/pam.d/common-auth
r397 r567 21 21 auth required pam_ldap.so use_first_pass 22 22 auth required pam_permit.so 23 24 auth optional pam_group.so 25 -
client/linuxmuster-client/trunk/debian/changelog
r561 r567 1 linuxmuster-client (0.9.15-0) testing; urgency=low 2 3 * fixed broken group memberships, added pam_group.so to common-auth. 4 * moved package configuration to postinst. 5 * moved /etc/gdm/PostLogin/Default to /usr/share/linuxmuster-client/copy-template.sh, 6 which will be sourced by mount.sh. 7 * removed etch from supported distros. 8 * added new config variable MYFILES. 9 * added desktop link to MYFILES if set. 10 * added templates for APPS_BASEDIR and MYFILES. 11 * fixed: parts of profile were not copied. 12 * removed keyrings/ from profile.exclude. 13 14 -- Thomas Schmitt <schmitt@lmz-bw.de> Sun, 08 Nov 2009 12:18:27 +0100 15 1 16 linuxmuster-client (0.9.14-3) testing; urgency=low 2 17 -
client/linuxmuster-client/trunk/debian/install
r538 r567 1 etc/Default etc/gdm/PostLogin/2 1 etc/config etc/linuxmuster-client/ 3 2 etc/profile.exclude etc/linuxmuster-client/ … … 5 4 hardy/* var/lib/linuxmuster-client/hardy/ 6 5 jaunty/* var/lib/linuxmuster-client/jaunty/ 7 etch/* var/lib/linuxmuster-client/etch/8 6 share/* usr/share/linuxmuster-client/ 9 7 debian/linuxmuster-hostname etc/init.d/ -
client/linuxmuster-client/trunk/debian/po/de.po
r462 r567 42 42 msgstr "Soll das Firefox-Profil des Vorlagen-Benutzers als Startprofil verwendet werden?" 43 43 44 #. Type: string 45 #. Description 46 #: ../templates:5 47 msgid "Name of the folder which contains the user files." 48 msgstr "Verzeichnisname fuer die Benutzerdateien (z.B. Eigene Dateien)." 49 50 #. Type: string 51 #. Description 52 #: ../templates:5 53 msgid "" 54 "Folder will be created in user's home if it does not exist and linked to the desktop." 55 msgstr "" 56 "Verzeichnis wird -falls nicht vorhanden - im Benutzerhome erstellt und auf den Desktop verlinkt." 57 58 #. Type: string 59 #. Description 60 #: ../templates:6 61 msgid "Name of the folder in user's home which will contain the application settings (Firefox etc.)." 62 msgstr "Name des Verzeichnisses im Benutzerhome, das Anwendungseinstellungen enthaelt (fuer Firefox z.B.)." 63 -
client/linuxmuster-client/trunk/debian/postinst
r538 r567 47 47 echo "This is $hardy!" 48 48 distro=hardy 49 elif grep -q "$etch" /etc/issue; then50 echo "This is $etch!"51 distro=etch52 # adding system groups and users53 for i in fuse rdma tss; do54 if ! grep -q ^${i}: /etc/group; then55 addgroup --system $i56 fi57 done58 if ! grep -q ^tss: /etc/passwd; then59 adduser --system --no-create-home --ingroup tss --disabled-login tss60 fi61 49 else 62 50 echo "This distribution is not supported!" … … 101 89 fi 102 90 91 # configure package 92 . /usr/share/linuxmuster-client/configure 93 103 94 # basedn 104 95 db_get shared/ldapns/ldap-server || true … … 125 116 if $RET; then firefox=yes; else firefox=no; fi 126 117 127 # we need this directory 128 [ -d /etc/gdm/PostLogin ] || mkdir -p /etc/gdm/PostLogin 118 # my files folder 119 db_get linuxmuster-client/myfiles || true 120 myfiles="$RET" 121 122 # apps base dir 123 db_get linuxmuster-client/apps_basedir || true 124 apps_basedir="$RET" 129 125 130 126 # patching configuration files … … 160 156 echo "FIREFOX=$firefox" >> /etc/linuxmuster-client/config 161 157 fi 158 if grep -q ^MYFILES /etc/linuxmuster-client/config; then 159 sed -e "s|^MYFILES=.*|MYFILES=\"$myfiles\"|" -i /etc/linuxmuster-client/config 160 else 161 echo "MYFILES=\"$myfiles\"" > /etc/linuxmuster-client/config 162 fi 163 if grep -q ^APPS_BASEDIR /etc/linuxmuster-client/config; then 164 sed -e "s|^APPS_BASEDIR=.*|APPS_BASEDIR=\"$apps_basedir\"|" -i /etc/linuxmuster-client/config 165 else 166 echo "APPS_BASEDIR=\"$apps_basedir\"" > /etc/linuxmuster-client/config 167 fi 162 168 163 169 # remove hal's obsolete mountpolicies -
client/linuxmuster-client/trunk/debian/templates
r462 r567 22 22 _Description: Copy initial Firefox profile to user's home? 23 23 24 Template: linuxmuster-client/myfiles 25 Type: string 26 Default: Eigene Dateien 27 _Description: Name of the folder which contains the user files. 28 Folder will be created in user's home if it does not exist and linked to the desktop. 29 30 Template: linuxmuster-client/apps_basedir 31 Type: string 32 Default: Einstellungen 33 _Description: Name of the folder in user's home which will contain the application settings (Firefox etc.). 34 Folder will be created in user's home if it does not exist and linked to the desktop. 35 -
client/linuxmuster-client/trunk/etc/config
r538 r567 14 14 FIREFOX_PROFILE=firefox 15 15 16 # my files folder 17 MYFILES="Eigene Dateien" 18 -
client/linuxmuster-client/trunk/etc/profile.exclude
r540 r567 1 1 # list of directories and files to be excluded from sync with profile of template user 2 2 cifs* 3 keyrings/4 3 metacity/sessions/ 4 share/gvfs-metadata/ 5 5 share/tracker/ 6 6 share/Trash/ -
client/linuxmuster-client/trunk/hardy/templates/etc/security/group.conf
r400 r567 55 55 #xsh; tty* ;*;Al0900-1800;floppy 56 56 57 *;*;*;Al0000-2400;dialout,cdrom,floppy,audio,dip,video,plugdev,scanner 57 *;*;*;Al0000-2400;dialout,cdrom,floppy,audio,dip,video,plugdev,scanner,powerdev,pulse-rt 58 58 *;*;@@administrator@@;Al0000-2400;adm,admin,lpadmin 59 59 *;*;@@pgmadmin@@;Al0000-2400;adm,admin,lpadmin -
client/linuxmuster-client/trunk/jaunty/templates/etc/pam.d/common-auth
r538 r567 25 25 # and here are more per-package modules (the "Additional" block) 26 26 # end of pam-auth-update config 27 28 auth optional pam_group.so 29 -
client/linuxmuster-client/trunk/jaunty/templates/etc/security/group.conf
r535 r567 55 55 #xsh; tty* ;*;Al0900-1800;floppy 56 56 57 *;*;*;Al0000-2400;dialout,cdrom,floppy,audio,dip,video,plugdev ,scanner57 *;*;*;Al0000-2400;dialout,cdrom,floppy,audio,dip,video,plugdev 58 58 *;*;@@administrator@@;Al0000-2400;adm,admin,lpadmin 59 59 *;*;@@pgmadmin@@;Al0000-2400;adm,admin,lpadmin -
client/linuxmuster-client/trunk/share/config
r538 r567 25 25 CDSDIR="$SAMBAHOME/cds" 26 26 USERDIRS="Desktop .kde .local" 27 MANDATORY_GROUPS="plugdev powerdev pulse-rt"28 27 -
client/linuxmuster-client/trunk/share/mount.sh
r540 r567 4 4 # schmitt@lmz-bw.de 5 5 # 6 # 11.07.20096 # 08.11.2009 7 7 # 8 8 … … 14 14 OPTIONS="$5" 15 15 16 # no pammount for local users17 grep -q ^${USER}: /etc/passwd && exit 018 19 16 # check if params are all set 20 17 [ -z "$SERVER" ] && exit 1 … … 24 21 [ -z "$OPTIONS" ] && exit 1 25 22 26 # source profile23 # source various settings and functions 27 24 . /usr/share/linuxmuster-client/profile || exit 1 25 . /etc/linuxmuster-client/config || exit 1 26 . /usr/share/linuxmuster-client/config || exit 1 27 . /usr/share/linuxmuster-client/helperfunctions.sh || exit 1 28 29 # fetch user's homedir 30 get_userhome 31 [[ -z "$HOME" || "$HOME" = "/dev/null" ]] && exit 1 32 33 # only for template user 34 [ "$TEMPLATE_USER" = "$USER" -a "$HOME" = "$MNTPT" ] && . /usr/share/linuxmuster-client/copy-template.sh 35 36 # no pammount for local users 37 grep -q ^${USER}: /etc/passwd && exit 0 28 38 29 39 # check if important variables are set … … 31 41 [ -z "$DESKTOP" ] && exit 1 32 42 [ -z "$USERDIRS" ] && exit 1 33 34 # fetch user's homedir35 get_userhome36 [[ -z "$HOME" || "$HOME" = "/dev/null" ]] && exit 137 43 38 44 # mount the given share … … 44 50 # if userhome not mounted do exit 45 51 cat /proc/mounts | grep -qw $HOME || exit 1 46 47 # add user to mandatory groups48 for i in $MANDATORY_GROUPS; do49 if grep -q $i /etc/group; then50 grep $i /etc/group | grep -q $USER || adduser $USER $i51 fi52 done53 52 54 53 # move user's dirs temporarily to /tmp … … 63 62 done 64 63 64 # copy template user profile 65 . /usr/share/linuxmuster-client/copy-template.sh 66 -
client/linuxmuster-client/trunk/share/supported_distros
r561 r567 3 3 intrepid="Ubuntu 8.10" 4 4 hardy="Ubuntu 8.04" 5 etch="Debian GNU/Linux 4.0"6 5
Note: See TracChangeset
for help on using the changeset viewer.
