On Sun, Nov 24, 2024 at 11:11:34AM +0000, Stuart Henderson wrote:
On 2024-11-23, Jon Fineman <j...@fineman.me> wrote:
This is what my class has at the moment:
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin
/usr/local/sbin:\
:umask=022:\
:datasize-max=infinity:\
:datasize-cur=infinity:\
:datasize=infinity:\
:maxproc-max=1024:\
:maxproc-cur=512:\
:openfiles-max=8192:\
:openfiles-cur=8192:\
:stacksize-cur=64M:\
:localcipher=blowfish,a:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:
Which is giving me:
ulimit -a
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 1572864
stack(kbytes) 4096
lockedmem(kbytes) 87381
memory(kbytes) 32399952
nofiles(descriptors) 512
processes 256
These don't match at all. datasize 1.5G vs infinity. stack 4M vs 64M.
openfiles 512 vs 8192 (also 8192 is higher than the default kernel
limit). Either you changed a lot of values and haven't re-logged in
so they haven't taken effect yet, or your account is not in the class
you think. Check the fifth column in master.passwd:
username:$2b$13$passwordhash:uid:gid:class:...
^^^^^
--
Please keep replies on the mailing list.
Thanks for the help everybody.
No not withholding info per say, just misunderstanding how things
work. Although I probably should have added the class line in my
snippet of login.conf. That might have helped.
I had added another class for just myself and wasn't aware I needed to
run usermod to change my class. I had confused the man pages of passwd
with master.passwd, and the Group vs Login Class both being the 5th
entry.