On Linux how can I change EUID of running process from command line (provided I have root access)?
Thanks
On Linux how can I change EUID of running process from command line (provided I have root access)?
Thanks
I don't think you can, I am not aware of any syscall that lets you change the effective user id of any process but the calling process.
Use gdb.
# gdb -p pid
(gdb) p seteuid(userid)