Skip to main content
add example
Source Link
jaksco
  • 165
  • 1
  • 8

If you have a session open and are a wheel user you can use systemd-run to fix new session creation problems that stem from invalid configuration or excessive open file limits.

This worked for me even when pkexec su --session-command and many other attempts did not

For example:

systemd-run sh -c "cat fixed.conf > /etc/security/limits.conf"

If you have a session open and are a wheel user you can use systemd-run to fix new session creation problems that stem from invalid configuration or excessive open file limits.

This worked for me even when pkexec su --session-command and many other attempts did not

If you have a session open and are a wheel user you can use systemd-run to fix new session creation problems that stem from invalid configuration or excessive open file limits.

This worked for me even when pkexec su --session-command and many other attempts did not

For example:

systemd-run sh -c "cat fixed.conf > /etc/security/limits.conf"
Source Link
jaksco
  • 165
  • 1
  • 8

If you have a session open and are a wheel user you can use systemd-run to fix new session creation problems that stem from invalid configuration or excessive open file limits.

This worked for me even when pkexec su --session-command and many other attempts did not