Glam Prestige Journal

Bright entertainment trends with youth appeal.

I'm connecting via SSH to a Centos 7 machine. I have a user that cannot perform any command as super user. If I do:

$ sudo ls /

I get the error: "sudo: unable to fork: Resource temporarily unavailable". The user is a member both of the sudo and the admin groups. When I enter the groups command, I get: "myuser sudo admin", and my /etc/sudoers file has the lines:

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

So what could be the problem? Thanks

1 Answer

You are experiencing some kind of resource limitation. This thread could help you.

Try

ulimit -Sn unlimited && ulimit -Sl unlimited
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy