dans le script S80mrtg tu fait un sudo !

Dominique



|---------+----------------------------->
|         |           "Didier MISSON"   |
|         |           <[EMAIL PROTECTED]|
|         |           fina.com>         |
|         |           Sent by:          |
|         |           [EMAIL PROTECTED]|
|         |           unixtech.be       |
|         |                             |
|         |                             |
|         |           24/02/2003 14:30  |
|         |           Please respond to |
|         |           linux             |
|         |                             |
|---------+----------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                                  
                                    |
  |       cc:       (bcc: Dominique Gallot/BRU/MASTERCARD)                             
                                          |
  |       Subject:  [linux] scrip init : user ?                                        
                                          |
  
>-------------------------------------------------------------------------------------------------------------------------------|




SuSE 8.1.

Je fais tourner MRTG.
Anciennement, je le lan�ais manuellement, sous un user mrtgadmin.
J'ai enfin automatis� le d�marrage, via un lien vers mon scrip de
d�marrage, depuis /etc/init.d/rc5.d/S80mrtg

Ok, �a marche!
Lors du reboot, MRTG d�marre.

Mais voil�, MRTG tourne sous le user ROOT.
Comme dire � un script dans /etc/init.d de tourner sous un autre userid ?

Merci d'avance.

--
Didier


_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech






**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech

Répondre à