[CentOS] [Fwd: How to listen port under 1024 with non-root user]

Jason Bradley Nance aitrus at tresgeek.net
Thu Jul 6 01:06:18 UTC 2006


> at first i try a script(witch lauch my
> program) and use setuid but that still did't work.

You can't suid bash scripts.  It's a security feature.  Your other 
options would be to write a wrapper in something such as C or Perl to 
change what user the script runs as.

j


--
Jason Bradley Nance                        What would you cry for?
aitrus at tresgeek.net                          Swallow your pride for?
            Tres Geek                       What would you go wild for?
http://tresgeek.net/
                                                           -Poe, "Wild"
-- 



More information about the CentOS mailing list