Monday, October 29, 2018

Re: How effectiate login.conf changes in console? ("ksh -l" does not)

On Mon, Oct 29, 2018 at 8:40 PM Joseph Mayer <joseph.mayer@protonmail.com>
wrote:

> After having changed /etc/login.conf I'd like to effectuate the
> changes directly in the console, without doing a logout-relogin
> cycle.
>
> Running "ksh -l" does *not* effectuate login.conf changes but only
> re-runs the profile script [1].
>
> Running "login" asks for username and password which seems less
> efficient than possible.
>
> Is there any way to do this?


Since changes to login.conf may mean raising/increasing hard limits, which
can only be done by privileged processes, the only sure fire way to have
login.conf changes take effect is to logout and log back in.


Philip Guenther

No comments:

Post a Comment