View previous topic :: View next topic |
Author |
Message |
Naspe Guru
Joined: 10 Dec 2003 Posts: 321 Location: Genova - Italy
|
Posted: Thu Apr 15, 2004 1:57 pm Post subject: che pass mette Emerge agli utenti che crea? |
|
|
Dovrei eseguire uno script, qmail-scanner-queue.pl, come utente qmaild.
Ho provato a fare ma mi chiede la pass e io nn la so.
Posso, da utente root, settarne una o si incasina di tutto di piu? _________________ God Is Real... Unless Declared As Integer...
Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!
Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!! |
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Apr 15, 2004 2:12 pm Post subject: |
|
|
con
cambi la password a chi vuoi. Comunque se fai il su da root ad altro utente non ti chiede la password.
E se setti il proprietario dello script a qmaild e gli dai il SUID? _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
Naspe Guru
Joined: 10 Dec 2003 Posts: 321 Location: Genova - Italy
|
Posted: Thu Apr 15, 2004 2:26 pm Post subject: |
|
|
Ok ho fatto su da root ma nn cambia utente... è possibile che sia xchè qmaild nn ha di shell?
Io devo solo fare una prova... che faccio? do una shell a qmaild e poi gliela levo? Per fare cio modifico a mano il file /etc/passwd ok? _________________ God Is Real... Unless Declared As Integer...
Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!
Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!! |
|
Back to top |
|
|
MyZelF Bodhisattva
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Thu Apr 15, 2004 2:48 pm Post subject: |
|
|
Naspe wrote: | è possibile che sia xchè qmaild nn ha di shell? |
Molto possibile, praticamente certo...
Puoi fare anche come ti ho proposto sopra:
Code: | # chown qmaild tuoscript
# chmod u+s tuoscript
|
Oppure ancora puoi usare sudo. _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
|
|