public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* can't change euid 0 to uid != running user
@ 2007-10-05 14:25 Luciano Rocha
  2007-10-05 15:28 ` Ray Lee
  2007-10-05 15:59 ` Srivatsa Vaddagiri
  0 siblings, 2 replies; 6+ messages in thread
From: Luciano Rocha @ 2007-10-05 14:25 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]


Hello,

I have the following problem:
$ sudo -u ie -s # or sudo su ie
unable to change to runas uid: Resource temporarily unavailable

Works:
$ sudo su, followed by su ie

The first sudo also worked while I had a shell under user ie.

When I exited, it stopped working, but it is now working every time I
trie it.

dmesg shows:

[82602.729330] kobject_add failed for 504 with -EEXIST, don't try to
               register things with the same name in the same directory.
[82602.729365]  [<c04b9195>] kobject_shadow_add+0x16e/0x1a0
[82602.729383]  [<c04b9480>] kobject_set_name+0x29/0x92
[82602.729504]  [<c04238ea>] user_kobject_create+0x6a/0x90
[82602.729520]  [<c0423cce>] alloc_uid+0x18f/0x1d7
[82602.729530]  [<c0427030>] set_user+0x1c/0x8f
[82602.729539]  [<c0428b5f>] sys_setresuid+0xd5/0x162
[82602.729552]  [<c0403e6a>] syscall_call+0x7/0xb
[82602.729575]  =======================

$ git describe
v2.6.23-rc9-156-ga95dacb

(Clone of Linus' tree, after rc9, with some patches from
mingo/linux-2.6-sched-devel.git, and a fix for lguest (didn't link due
to kasprintf)).

-- 
lfr
0/0

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-07 23:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-05 14:25 can't change euid 0 to uid != running user Luciano Rocha
2007-10-05 15:28 ` Ray Lee
2007-10-05 19:29   ` Luciano Rocha
2007-10-07 16:49   ` Luciano Rocha
2007-10-07 23:56     ` Ray Lee
2007-10-05 15:59 ` Srivatsa Vaddagiri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox