Article View: es.comp.os.linux.programacion
Article #2113Ejecutar programa como otro usuario
From: Rafa
Date: Tue, 19 Apr 2005 09:21
Date: Tue, 19 Apr 2005 09:21
5 lines
1365 bytes
1365 bytes
Buenas... tengo un script bash que se ejecuta como root y arranca una serie de programas. Necesito que sea capaz de ejecutar un programa como si fuera otro usuario. �C�mo puede hacerse?
Technical Details
Message-ID:
<1113903239.148799@nispero.mad.tiscali.red>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!feed.news.tiscali.de!news.tiscali.de!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f86c8,39223b352481f5d9,start X-Google-Attributes: gidf86c8,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!feed.news.tiscali.de!news.tiscali.de!not-for-mail From: Rafa <rafa@nospam.org> Newsgroups: es.comp.os.linux.programacion Subject: Ejecutar programa como otro usuario Date: Tue, 19 Apr 2005 11:21:02 +0200 Organization: Tiscali Spain Lines: 5 Message-ID: <1113903239.148799@nispero.mad.tiscali.red> NNTP-Posting-Host: nispero.tiscali.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ulysses.news.tiscali.de 1113902462 92419 212.166.64.108 (19 Apr 2005 09:21:02 GMT) X-Complaints-To: abuse@tiscali.de NNTP-Posting-Date: Tue, 19 Apr 2005 09:21:02 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.3) Gecko/20040913 X-Accept-Language: es, en-us, en Cache-Post-Path: nispero.mad.tiscali.red!unknown@82-213-209-113.adsl.tiscali.es X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)