Monday Mar 05, 2007
Monday Mar 05, 2007
Tonight, I found out an easy way to allow a non-root user to bind to a privileged port (<1024) on Solaris 10. I've done this before with RBAC (i.e. exec_attr, prof_attr), but knew there was an easy one line command to provide this privilege to a non-root user.
Here's the simple command. You must run it as root.
# usermod -K defaultpriv=basic,net_privaddr tomcat
Now the user tomcat can run applications that need to bind to privileged ports (i.e. port 80). For those taking notes, this addes a line into the /etc/user_attr file:
tomcat::::type=normal;defaultpriv=basic,net_privaddr
Hope this might help another basic Solaris user out there like me. If an expert Solaris user has a different opinion, please comment.
Posted by Alan Burlison on March 05, 2007 at 04:55 PM CST #
Posted by john marino on April 01, 2007 at 09:45 AM CDT #
Posted by Carlos Corrêa on July 04, 2007 at 12:33 PM CDT #
http://www.nizikaikun.com/
http://www.ms-online.co.jp/eshop/goods/ona_hole.php
http://www.ms-online.co.jp/eshop/goods/costume.php
http://www.ms-online.co.jp/eshop/goods/vibe.php
http://www.ms-shop.co.jp/shop/goods/goods.asp?category=5308
http://www.omochacha.com/
http://www.av-one.jp/zero/top.html
http://www.a-world.co.jp/
http://www.a-toy.ne.jp/
http://www.s-one-company.jp/
http://www.ec-life.co.jp/bath/index2.html
http://www.tbnetjapan.com/medlegal/
http://adultshop.co.jp/omocha.html
http://adultshop.co.jp/adultshop.html
http://adultshop.co.jp/enemagra.html
http://adultshop.co.jp/onahole.html
http://adultshop.co.jp/houkei.html
http://adultshop.co.jp/anal.html
http://adultshop.co.jp/denma.html
http://www.nicolas-dogs.com/
http://www.aqua01.net/
http://www.kabudayo.com/
http://www.fxf-business.com/
http://kaketayo.sakura.ne.jp/
http://www.11cash.net/
http://telink.jp/
http://www.complete-watch.com/
http://adultshop.co.jp/dutch.html
http://www.blyjapon.com/
http://www.achelabo.jp/
http://umanity.jp/
http://www.worldflower.net/rs/
http://furniture.michiookamoto.com/
http://www.blyjapon.com/
http://www.achelabo.jp/
http://www.open-japan.com/
http://www.open-japan.com/ideabox/index.php?category=beauty#top
http://www.open-japan.com/ideabox/index.php?category=dress#top
http://www.eic-av.com/
http://www.eic-av.com/list/fileIndex
http://www.saimu0.jp/
http://www.chasetokyo.com/charge.html
http://www.chasetokyo.com/whereabouts.html
http://www.chasetokyo.com/action.html
http://www.chasetokyo.com/immorality.html
http://www.chasetokyo.com/philippines.html
http://www.sigmac.jp/
http://www.tokei-biho.com/
http://www.rmtplusone.com/lineage2/
http://www.takumi-pg.com/
http://www.webtravel.co.jp/asia/chaina/
http://www.webtravel.co.jp/
http://www.trivy-system.com/Kekkon.htm
http://www.trivy-system.com/Sinyou.htm
Posted by thanhvn on December 18, 2008 at 07:51 AM CST #
Awesome post - worked like a charm! :) Thanks!
Posted by Daniel on December 23, 2008 at 04:20 PM CST #
Excellent
Posted by Manna on December 27, 2008 at 05:19 PM CST #
http://www.0120128888.com/
http://www.wonder-up.net/
http://www.akasaka-hisyo.com/
http://www.ran-s.jp/
http://www.tokyo-living.com/jp.html
http://www.firstep.jp/
http://www.tb-k.com/
http://www.kw-ai.com/
Posted by sasa on July 24, 2009 at 12:16 AM CDT #
<a href="http://www.link4seo.com">SEO</a>
<a href="http://www.adire.jp/cashing/index.html">キャッシング</a>
<a href="http://www.hayawaridenpo.com">電報</a>
<a href="http://www.miraiclub.jp">有料老人ホーム</a>
<a href="http://man3.jp">ウィークリーマンション</a>
<a href="http://www.ooimoney.com/">クレジットカード 現金化</a>
<a href="http://www.kinutashika.net/">矯正歯科</a>
<a href="http://www.citinet.jp/chiba/">船橋市 不動産</a>
Posted by trtrtr on September 24, 2009 at 03:33 AM CDT #