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

Re: profile.d [was Re: UMASK 002 or 022?]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Ethan Benson <erbenson@alaska.net> writes:

> for PATH updates /etc/profile should be fixed, redhats profile.d
> concoction does a horrible job of setting the PATH, i usually end up
> with directories being listed twice, a la
> /usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin
> 
> ugly ugly ugly

OK, you've got me there.  I suspect, however, that it wasn't a direct
result of profile.d that $PATH was screwed up.

> why use a bunch of little files?

Simple.  The package itself should have created the requisite small file.
In my case, certain packages are only installed on certain machines,
so their profile.d scripts are only pushed to those machines.

> > [1] By policy.  No other shells are installed, and users cannot run chsh
> > anyway.
> 
> first point is true, second point is rubbish ;-)

[ example of how it works on Ethan's machine ... ]

> seems to work fine here.  and no i have not changed anything in my
> configuration in regards to chsh.  

I use NIS for auth, and as the man page for yppasswdd says:

              By default, rpc.yppasswdd will not allow  users  to
              change  the  shell  or  GECOS field of their passwd
              entry.

But I digress. :)

- -- 
Graeme.
graeme+sig@mathie.cx

"Life's not fair," I reply. "But the root password helps." - BOFH
-----BEGIN PGP SIGNATURE-----

iD8DBQE5P6WiPjGH3lNt65URAlthAKClCPRc3h8jQM+Ffmt6WchFYeUbZACgz9Zk
KU/t2hPJ0Eco3o7ktHPx4V0=
=pPmW
-----END PGP SIGNATURE-----



Reply to: