Re: when creating a user, home dir not created!

Manuel Amador <[email protected]>
Newsgroups gmane.network.directoryadmin
Organization Amautacorp S.A.
Message-ID <[email protected]>
El vie, 19-12-2003 a las 14:43, Eric Sandall escribió:
> Quoting Ryan Henry <[email protected]>:
> > I suggest using pam to do this.  That way a home dir will be created
> > automatically when the user logs in and you don't have to created
> > individual directories on each system the user logs into.
> > 
> > in /etc/pam.d/system-auth add:
> > session    required     /lib/security/pam_mkhomedir.so skel=/etc/skel/
> > umask=0077
> > 
> > - -Ryan
> 
> And if you use PAM, that's an even better solution than jimmying DA to do it.
> However, I think we still need a way to do it for those who do not use PAM
> (such as myself and most of the other devs for SMGL ;)).

I am curious.  Why do some systems not have PAM, if they can?  (not
talking about embedded and the like, I can understand those cases).

> 
> Is there some easy way (other than my previous solution) to setup a home
> directory for new users, and set them up on the correct machine?
> 
> -sandalle
-- 
	Manuel Amador
	Jefe de I+D
	Amauta
	+593 (9) 847-7372
	GPG key ID: keyserver.net C1033CAD
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/44W1WyznNMEDPK0RAgaeAJoDCWGYUpQUhQbyV21yfMoJXdNu/gCfQlAj
ylnrM7r3E3htItDSAXjGzJ8=
=/6JA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.