I have it installed, I have it working, and I have everything almost how I want it with two exceptions.
1. New user home directories are not being created automatically. My /etc/pam.d/common-session does contain the line
but it doesn't seem to work.Code:session required pam_mkhomedir.so skel=/etc/skel umask=0077
I currently have a bash script that I run after creating new users
but that really doesn't make sense and is prone to error (I forgot one and now even after fixing it whenever that user tries to log on to the first laptop he tried to use, his profile is totally borked)Code:sudo mkdir /home/$1 sudo cp /etc/skel/.* /home/$1/ sudo chown -R $1:mvstaff /home/$1
2. I have no idea how to assign a user to multiple groups. I'm used to "The UNIX Way" where each user has a group named after themself immediately upon creation and I can 'adduser <user> <group>' to provide them with access to various things that I've given to other groups. I can deal without the user-named groups as I've never really seen a point to that, but I have a plethora of shared drives where different users need to have different permissions on a group by group basis. Right now, my users can access our company-wide share RW, but myself and the other admin (who are in the group domainadmins rather than mvstaff) only have RO permission. Previously, I had 'staff', 'admins', 'accounting', etc. and could construct my shared folders nouser:<group> with 775 or 770 permissions as the situation demanded.
edit: I guess this might be important --
Zimbra: Latest NE on Ubuntu 7.04
Samba host: Debian Etch x86-64 fully up to date
Both the Debian and Ubuntu boxes are kept 100% within their respective packaging repositories with the exception of obviously Zimbra on the Ubuntu box and VMware Server on the Debian box. Everything else is installed straight from packages and thus should be fully duplicable.


LinkBack URL
About LinkBacks


