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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux