Article View: es.comp.os.linux.programacion
Article #9590ejecucion de un script como root (AMPLIACION)
From: [ZoRo]
Date: Thu, 13 Jun 2002 20:50
Date: Thu, 13 Jun 2002 20:50
15 lines
1373 bytes
1373 bytes
tengo un script de la forma: #!/bin/sh useradd usuairo -g users -d /home/usuairo -s /bin/false -p passwd hay manera que este script lo pueda ejecutar un usuairo no root? es decir hayalguna manera, metiendo alguna sentencia al principo del script o editando sudoers para que se pueda hacer? la manera que mas me interesa es la de meter algo en el script para que se convierta en root y luego ejecute3 y salga Me podeis ayudar? muchas gracias
Technical Details
Message-ID:
<aeb0ih$5d4c5$1@ID-59646.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!217-127-108-221.uc.nombres.ttd.ES!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit X-Google-Thread: f86c8,8770c794807bea42,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-06-13 13:50:27 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!217-127-108-221.uc.nombres.ttd.ES!not-for-mail From: "[ZoRo]" <koxkor_NOSPAM_@latinmail.com> Newsgroups: es.comp.os.linux.programacion Subject: ejecucion de un script como root (AMPLIACION) Date: Thu, 13 Jun 2002 22:50:22 +0200 Lines: 17 Message-ID: <aeb0ih$5d4c5$1@ID-59646.news.dfncis.de> NNTP-Posting-Host: 217-127-108-221.uc.nombres.ttd.es (217.127.108.221) X-Trace: fu-berlin.de 1024001426 5673349 217.127.108.221 (16 [59646]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000