I'm trying to su to a user on a CentOS 6.4 x86_64 box and get the
error in the subject:
[user1@cent6.4box ~]$ sudo su - user2
su: cannot set user id: Resource temporarily unavailable
[user1@cent6.4box ~]$
The limits.conf file has the following entries
the
error in the subject:
[user1@cent6.4box ~]$ sudo su - user2
su: cannot set user id: Resource temporarily unavailable
[user1@cent6.4box ~]$
The limits.conf file has the following entries:
* soft nofile 10
Might be semaphores?
On 3/10/2014 10:05 AM, Brian Chabot wrote:
I'm trying to su to a user on a CentOS 6.4 x86_64 box and get the
error in the subject:
[user1@cent6.4box ~]$ sudo su - user2
su: cannot set user id: Resource temporarily unavailable
[user1@cent6.4box ~]$
The limits.conf file
:
I'm trying to su to a user on a CentOS 6.4 x86_64 box and get the
error in the subject:
[user1@cent6.4box ~]$ sudo su - user2
su: cannot set user id: Resource temporarily unavailable
[user1@cent6.4box ~]$
The limits.conf file has the following entries
On 2014-03-10 10:05, Brian Chabot wrote:
I'm trying to su to a user on a CentOS 6.4 x86_64 box and get the
error in the subject:
[user1@cent6.4box ~]$ sudo su - user2
su: cannot set user id: Resource temporarily unavailable
[user1@cent6.4box ~]$
This is where, when desperate, I whip out
On 3/10/2014 10:20 AM, Brian Chabot wrote:
Also, disk space and RAM are aplenty...
Is there any way to tell *which* resource is unavailable?
Brian Chabot
Two other thoughts:
- Is SELinux enabled? Check the logs and see if there's anything
strange there.
- try using strace to see which
Another vote for strace. Depending on circumstances I
sometimes first startup a separate session thus:
script /tmp/tediousDebugSession.log
...and then just allow the strace+program command to let
fly via stdout. It can be a mess but having program output
intermixed with the resultant
Not directly related to the issue, but I thought I'd not that you don't
have to have sudo exec an su with the sudo su - user, you can get an
interactive shell from sudo directly: sudo -i -u user
-i says you want an interactive login shell. If you don't specify -u
username then it assumes root.