Sebastien Le Lourec wrote:
> Au pire tu peux :
> -----
> sudo su
> su - www-data
(snip)

sudo su est fortement déconseillé sous ubuntu:
http://doc.ubuntu-fr.org/sudo#differences_entre_sudo_-i_sudo_-s_sudo_su_etc

pour obtenir un shell root il est preferable d'effectuer cette commande:
sudo -s

pour obtenir un shell sous un autre utilisateur (www-data par exemple):
sudo -u www-data -s

Bonne continuation

Ju
-- 
Success is a journey, not a destination. So stop running.

-- 
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Répondre à