[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: CAMBIO DE PROPIETARIO



> >
> > Una pregunta como puedo cambiar  de propietario
> > un proceso que ya se este ejecutando??
> 
> De ninguna, a menos que hagas tremendo hack en el kernel.

¿No se referirá más bien a esto?   :-)

#man setuid

NAME		setuid - set user identity

SYNOPSIS	#include <unistd.h>
		
		int setuid(uid_t uid)

DESCRIPTION	setuid  sets the effective user ID of the current process.
		If the caller is the superuser, the real  and  saved  user
		ID's are also set.

Salu2. :-)

-- 
Martin Humberto Hoz Salvador    
CITI S.A. de C.V.               Technical Support Engineer
Sendero Sur 285-A Col. Contry,  Monterrey Nuevo Leon 64860, Mexico
Phone: +(52)(8) 357-2267 x18    Fax: +(52)(8) 357-8047 
E-mail: mhoz en citi com mx        WWW:  http://www.citi.com.mx
PGPKey ID: 0x0454E8D9           ICQ Number: 31631540

-- 
Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
Para comandos adicionales, envíelo a: ayuda-help en linux org mx



[Hilos de Discusión] [Fecha] [Tema] [Autor]