Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Attivazione demoni ausiliari (flexlm) [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Tue Apr 20, 2004 6:35 pm    Post subject: Attivazione demoni ausiliari (flexlm) [risolto] Reply with quote

Ciao a tutti,
vorrei far partire il server flexlm all'accensione del pc, ma non ho lo script di init...basta aggiungere il comando di avvio (./lmstart) allo script /etc/init.d/local ?

P.S. questo servizio NON deve essere avviato dall'utente root...

Qualche idea?
Grazie
_________________
Max


Last edited by max_1975 on Wed Apr 21, 2004 12:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Apr 20, 2004 11:38 pm    Post subject: Reply with quote

Potresti prendere spunto dagli script di init di altri demoni e crearli tu... ;)

In alternativa il file dove inserire il comando è /etc/conf.d/local.start

Per scegliere l'uid con cui far girare il demone puoi usare sudo oppure impostando il SUID e il proprietario desiderato all'eseguibile.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Apr 21, 2004 7:22 am    Post subject: Reply with quote

MyZelF wrote:
Per scegliere l'uid con cui far girare il demone puoi usare sudo oppure impostando il SUID e il proprietario desiderato all'eseguibile.


Se non ricordo male dovrebbe essere possibile anche solo con "su" con qualcosa tipo:
Code:

su - nome_utente comando_da_eseguire

se é root che esegue il "su" non gli verrà chiesta la password....
_________________
Ciao da me!
Back to top
View user's profile Send private message
I-Ching
n00b
n00b


Joined: 16 Mar 2004
Posts: 50

PostPosted: Wed Apr 21, 2004 8:55 am    Post subject: Reply with quote

Quote:
su - nome_utente comando_da_eseguire

ciosi no funziona:9

Code:
su - nome_utente  -c comando_da_eseguire


Ricordati che se il comando e' composto da piu tokens (che so comando + parametro) allora deve essere chiuso tra virgolette


Ue-Tsi
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Apr 21, 2004 9:43 am    Post subject: Reply with quote

I-Ching wrote:
ciosi no funziona:9


:oops: andavo a memoria, grazie per la precisazione ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Wed Apr 21, 2004 12:13 pm    Post subject: Reply with quote

Grazie a tutti...ora provo
_________________
Max
Back to top
View user's profile Send private message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Wed Apr 21, 2004 12:23 pm    Post subject: Attivazione demoni ausiliari (flexlm) [risolto] Reply with quote

Funziona!!! Grazie di nuovo!
_________________
Max
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum