[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudoers



On 18:24 Thu 22 Jun     , ousinto bels wrote:
> Bonjour! 
> 
> je voudrais pouvoir creer un utilisateur qui peu
> passer en root sans qu'on lui demande de mot de passer
> comme ce se fait avec les live CD. mon fichier
> /etc/sudoers ressemble à ça:
> 
> # /etc/sudoers
> #
> # This file MUST be edited with the 'visudo' command
> as root.
> #
> # See the man page for details on how to write a
> sudoers file.
> #
> 
> # Host alias specification
> 
> # User alias specification
> 
> # Cmnd alias specification
> 
> # User privilege specification
> root    ALL=(ALL) ALL
> ousin   ALL=(ALL) ALL
> 
> mais quand je tape la commande: sudo su avec
> l'utilisateur ousin il m'envoie une erreur:
> /etc/host.conf: line 24: bad command `mdns off'
> 
> comment faire?
ousin   ALL=(ALL) NOPASSWD: ALL

Amicalement, 
-- 
===========================================================
  ,''`.  Xavier Oswald <x.oswald@free.fr>
 : :' :  GNU/LINUX Debian & Debian-Edu Contributor
 `. `'   GnuPG Key ID 0x88BBB51E 
   `-    938D D715 6915 8860 9679  4A0C A430 C6AA 88BB B51E
===========================================================



Reply to: