Skip site navigation (1)Skip section navigation (2)
Date:      28 Dec 2003 12:32:20 -0500
From:      Lowell Gilbert <>
Subject:   Re: setting login.conf doesn't limit my users
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Jez Hancock <> writes:

> I don't think this is true - whether or not login is called is dependent
> on the shell set for each user - I may be wrong though :P.

On further inspection, I see that login(1) is not being called,
but login(3) seems to be.  The shell in use shouldn't matter,
because the shell itself should be run under the user's limits.

> All I *do* know is that I use sshd to login regularly and the login
> capabilities I set in /etc/login.conf do take effect ok.

Yes, you're right.

> To the OP - it may help if you paste in the contents of your login caps
> file /etc/login.conf or detail exactly what it is you're trying to
> cap/restrict.

Indeed.  There are some limits that aren't implemented, but if the
users can change a limit, that's not what's happening here.  Of
course, users can always *lower* their limits, and they can raise
their soft limits up to a maximum of the hard limit (that's what
the distinction is for).

Want to link to this message? Use this URL: <>