[CentOS] how to bind a process to root priority and return to a unroot user

Alexander Dalloz ad+lists at uni-x.org
Mon Jul 24 13:56:43 UTC 2006


dxuranus schrieb:

>i login with nuroot user id and want to run a process(like listen port 
>under 1024) which only root priority allowed,what can i do(set_uid 
>can't 
>do this). 
>thanks for any help!
>
Is this a daemon process which shall run every time you boot? Then write 
a chkconfig compatible init script to be placed inside /etc/init.d/. If 
you just want to test something you might run

su -
nohup <process>
exit

Alexander




More information about the CentOS mailing list