Originariamente inviato da nesquik
ciao a tutti...
ho un file in /usr/sbin cosi' impostato:

-rwxr-xr-x 1 root bin

che vorrei poter eseguire da utente anziche' da root
finora ho provato cosi':
- aggiunto utente a gruppo bin
- modificato proprietario file da root a utente
entrambi senza successo...
se eseguo il file da utente l'output e' questo:

ERROR: You must be root to run the command,
ERROR: or the root must set the suid bit for the executable.

Sapete aiutarmi ? thx
ripristina i permessi originari, aggiungi l'utente incriminato al gruppo bin, quindi esegui
codice:
# chown 4750 /usr/sbin/iltuoeseguibile
dovrebbe funzionare.

Alternativa, migliore ma piu` lunga: configurare sudo.