[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/profile.d



* Roland Rosenfeld said:

> > Another option is Massimo dal Zotto's "shellrc" package available from
> > "http://www.cs.unitn.it/~dz/debian/";.  It supports csh and bash.
> 
> But if you really need such a mechanism, why don't you create a real
> generic one?  If I would need something like this, I would go the
> following way:
[snip]
> So if someone really needs something like /etc/profile.d, the above
> idea could be a portable way to implement this.  
All the necessary environment setup is handled by the pam_env module.
/bin/login uses PAM - problem resolved ;))

marek

Attachment: pgpdWA9Doe4Wr.pgp
Description: PGP signature


Reply to: