<quote Auteur="Didier MISSON"> > 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 ? >
essaie un truc comme �a dans ton script: su - mrtgadmin -c"/path/to/mrtg" > Merci d'avance. > > -- > Didier -- _ _ ( "> Thomas Silvestre <� ) (v ) AEL activist ( <) ��� www.ael.be ��� "Si tu arrives au sommet de la montagne, continue de grimper!" - Bouddha . _______________________________________________________ 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

