Benjamin Scott said:
> Hello list,
>
> What is the "right way" to set a resource limit (ulimit) on a system-wide
> basis? Or at least, how do I set it for myself when I login to GNOME? I just
That's a tough question... and probably depends on how you use your
system (i.e. if other people do too). I would suggest putting it in
/etc/profile, /etc/bashrc, and /etc/cshrc, but there's no guarantee
that any of these will get sourced, depending on how you log in a/o
the user's environment. The odds are that one of those will, but
depending on your X configuration I don't think it's a given.
If you want to be SURE it gets set for all users, you could put it in,
say, /etc/rc.d/rc.local or some other init script.
Otherwise, assuming you're using bash, you probably need to put it in
both .profile (or .bash_profile if you use that) and .bashrc, AND set
the $ENV environment variable to one of those files, so that
it will be set in both login and non-login, interactive and
non-interactive shells.
--
Derek Martin
Senior System Administrator
Mission Critical Linux
[EMAIL PROTECTED]
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************