Recent

Author Topic: un script en linux con permisos de root  (Read 4674 times)

robertmarq

  • Guest
un script en linux con permisos de root
« on: March 06, 2006, 11:18:41 pm »
hola. lo siento pero no hablo bien el ingles. en fin mi problema es .como puedo desde un programa hecho en FreePascal ejecutar un script de linux con permisos de root...yo pienso que tal vez solicitando la clave de root. pero al hacerlo como paso el usuario y password  de root a linux para luego llamar al script...espero puedan ayudarme y disculpen por postear en español pero . no alla como hacer esto.

matthijs

  • Hero Member
  • *****
  • Posts: 537
RE: un script en linux con permisos de root
« Reply #1 on: March 07, 2006, 08:17:24 am »
It doesnot matter if your English is not good. Unfortunately most people on this forum speak even less Spanish. So try to post your question in English. As far as I can understand you want your application to start a script with root privileges? Is this correct?
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

robertmarq

  • Guest
RE: un script en linux con permisos de root
« Reply #2 on: March 07, 2006, 07:19:39 pm »
yes,   matthijs:   If it is what I want


Since I can from a program done in FreePascal execute a script of linux with permissions of root.

I think that maybe requesting the password of root.
Very well already I have the password.
But I pass this information(password) to  linux by execute and call to script


...........I sorry  my Englis is bad

lepidosteus

  • New Member
  • *
  • Posts: 38
RE: un script en linux con permisos de root
« Reply #3 on: March 07, 2006, 09:16:38 pm »
Can't 'sudo' be used when starting a Tprocess ?

 

TinyPortal © 2005-2018