Re: /etc/profile.d
grendel@vip.net.pl (Marek Habersack) writes:
> You all, guys, seem to forget about the pam_env module. If you login
> via ssh, it parses /etc/environment on its own, as somebody already
> said. If you login at the console or via rlogin, telnet then the
> /bin/login is invoked. On potato it uses pam, just enable the
> pam_env module and it will set the envvars before invoking the shell
> - they will use the inherited environment.
Ahh, this is very nice--I'm not very well versed in all this PAM
stuff, but it seems that the pam_env module takes care of most of my
concerns. The only unsolved problem seems to be X sessions, since xdm
isn't PAMified yet. We'll need to either PAMify xdm or use the "set -a"
trick in /etc/X11/Xsession when /env/environment is sourced.
--
#!/usr/bin/perl -w
for(0..12){$b[$_]="|".($_==6?"-":" ")x78}for(0..78){substr($b[-
(sin($_*3.1415/22)-1)*6.499],$_,1)="*"}print join "\n",@b,"";
Reply to: