Article View: es.comp.os.linux.programacion
Article #9597Re: ejecucion de un script como root (AMPLIACION)
From: Ignacio Arenaza Nuño
Date: Fri, 14 Jun 2002 09:14
Date: Fri, 14 Jun 2002 09:14
29 lines
2110 bytes
2110 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "[ZoRo]" == [ZoRo] <ZoRo> writes:
[ZoRo]> hay manera que este script lo pueda ejecutar un usuairo no
[ZoRo]> root? es decir hayalguna manera, metiendo alguna
[ZoRo]> sentencia al principo del script o editando sudoers para
[ZoRo]> que se pueda hacer? la manera que mas me interesa es la
[ZoRo]> de meter algo en el script para que se convierta en root y
[ZoRo]> luego ejecute3 y salga
sudo es lo que tu necesitas.
Saludos. I�aki.
- --
Ignacio Arenaza Nu�o
Computer Science Department
Mondragon Unibertsitatea - ETEO
20560 O�ati - Spain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG
iD8DBQE9CbPaRgC43oKhB3QRAp2zAKCltxpSuq+cyY2SziJTgjmkj918QgCeNbPc
KKnj2JE9iRw0rE7FDjwjbsg=
=IiDo
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<67bsaejk85.fsf@poseidon.eteo.muni.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mailReferences:
<aeb0ih$5d4c5$1@ID-59646.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,8770c794807bea42 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-06-14 02:15:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!213-98-107-123.uc.nombres.ttd.ES!not-for-mail From: iarenaza@eb2ebu.ampr.org (Ignacio Arenaza Nuño) Newsgroups: es.comp.os.linux.programacion Subject: Re: ejecucion de un script como root (AMPLIACION) Date: Fri, 14 Jun 2002 11:14:02 +0200 Organization: Mondragon Unibertsitatea ETEO Lines: 29 Distribution: es Message-ID: <67bsaejk85.fsf@poseidon.eteo.muni.es> References: <aeb0ih$5d4c5$1@ID-59646.news.dfncis.de> NNTP-Posting-Host: 213-98-107-123.uc.nombres.ttd.es (213.98.107.123) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1024046108 6155194 213.98.107.123 (16 [64988]) X-Orig-Path: antonio.escomposlinux.org!news.eteo.mondragon.edu!not-for-mail User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/20.7 (i386-debian-linux-gnu) Cancel-Lock: sha1:dEieyCs4I8ZHTwEjfGXa+3+eQBY=