Date: Tue, 3 May 2005 18:01:17 +0200 From: Gerhard Schmidt <estartu@augusta.de> To: freebsd-questions@freebsd.org Subject: createing users homedir on first login Message-ID: <20050503160116.GA91906@augusta.de>
next in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I have set up some FreeBSD 5 Workstations and configured nss to get the=20 accounts from ldap. Pam is also set up to work with ldap. Everything so=20 far is runningnperfectly smooth. The problem is the workstations don`t have a shared filesystem. Each user should have an seperate homedir on every=20 workstation.=20 I tried to use pam_exec to create the homedir on the first login. But it seams there is now way of knowing who is logging. I've even tried=20 to use pw usershow -a to get all users and create all homedirs but=20 pw usershow -a don't report any users when started from a shellscript=20 called by the pam_exec module.=20 Anyone successfully implemented a system to create homedirs on the fly.=20 bye Estartu ---------------------------------------------------------------------------- Gerhard Schmidt | Nick : estartu IRC : Estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | E-Mail: estartu@augusta.de | auf Anfrage/ Germany | | on request --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: cN7yZFC7LD6s85hl8/UGsI+fSuJN/k1h iQCVAwUBQnegTAzx22nOTJQRAQGasAQAoxO3ns0CFkB5Kk96C8BSB2zXQEneuVWA qgvscPm6p/bFCdn2Og6ymSIkDsTX/3hxKUybW3sDAvjPQs8Bfpf1x8HM3kkCZJMX pJO4Ko46UHEFmH3QFRophnnUesx5mXsYXnYPz0tbN/HqY/MHNY8xK5scNg924CVC PZbyUj3vRtU= =+tIi -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503160116.GA91906>