Comment 20 for bug 572813

Revision history for this message
dinexi (im-dinexi) wrote :

More than that. In Maverick amd64 the option UsePAM yes makes polkitd grow drastically in time of each login.
With UsePAM yes:
[stanis@dinexi ~] % tail -n 1 /etc/ssh/sshd_config
UsePAM yes
[stanis@dinexi ~] % ps aux | grep polkitd | grep -v grep
root 1698 0.0 0.6 62904 12744 ? S Mar13 0:10 /usr/lib/policykit-1/polkitd
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ps aux | grep polkitd | grep -v grep
root 1698 0.0 0.6 64488 14252 ? S Mar13 0:12 /usr/lib/policykit-1/polkitd
Changing this option to 'no' and restarting ssh service:
[stanis@dinexi ~] % tail -n 1 /etc/ssh/sshd_config
UsePAM no
[stanis@dinexi ~] % sudo service ssh restart
ssh start/running, process 29226
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ssh -p 422 dinexi -C 'exit'
[stanis@dinexi ~] % ps aux | grep polkitd | grep -v grep
root 1698 0.0 0.6 64488 14252 ? S Mar13 0:12 /usr/lib/policykit-1/polkitd