-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm running multiple instances of a daemon (tor).

I'd like to adjust the openfiles-max limit for all of these tor instance
s.

1) I changed the "_tor" user's login class to "tordaemon"

# userinfo _tor
login   _tor
passwd  *************
uid     566
groups  _tor
change  NEVER
class   tordaemon       <<<<<


2) added the following line to login.conf:

tordaemon::openfiles-max=13500::tc=daemon:

That does not do what I was aiming for.

Having a login.conf line per tor instance matching the rc.d script
name works, but is there also a way to achieve that with a single line
as well?

thanks,
nusenu





-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVgDERAAoJEFv7XvVCELh0YvsP/ifDSkiGTXPvYXrTYhqaZEvG
wIN2NlVVDr3TrXonPHp+3QoxFRi0CYZniD4Lg1Guw7iyUiNAK0dh4TRH0k40m6+/
HAQ4EPVDLtPjNwu8kC7I+dpW2m2Q2nUA3Wl1fSPdRhFqYIELNAj0jzW2Imtrn3UN
CQnGhzBfBe6XAJzA70Bd9RkcYWHrJ8FvO3zipO/FpN2p9ipr+LsmA5R2jktS9mC5
MJjc1dGwIXT7EcT/2V21QupvRjTEVM4G9zAQ9rN/mtfi5MkPQc4XklPrhj9mxubX
y8A2v0mav67chTVhN1r7pWtJU4Pw4wDqYpq7M8VF9kYqQnKyZUh+IniFfK7UDMRB
+0EUXEzjjRlNfkW0RSGD3mRnvjloN7VIwVi4Q+vQz4wJFep9ZC+sWdjdJsUDTYaK
YmlM0/hYhckuqGRYsJhQrMdbIcnJCSSBEabGkrJ3nE3PEZvuwCNm3IcqH7EfdLib
b8OhRswzwNDO5LzuJc7LpyTnEZAPQ/iEZ0L6OmvtO9pwiq3GPj6XKHXV3G5kr6zq
UnIjOeS+YvHMFCTpCv4T9ZdwCueO9Lti+oE4nJEA9DSRILFkIi7lMDUG//5pUxKm
AgNe5Fe/FIUYpQH+1/TT/F8koov2zNd1g2Gm3NU0Lt9xfH5eozLAm429+wTvxKnP
PG3c3nWeugn0pETCbvxw
=He7O
-----END PGP SIGNATURE-----

Reply via email to