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

Re: Problemas configurando sudo



On Fri, 10 Oct 2008, mariodebian wrote:

> El vie, 10-10-2008 a las 15:32 +0200, Julian Daich escribió:
> > Hola,
> > 
> > Soy nuevo en Debian y vengo migrando desde Ubuntu.
> > He intentado sin éxito agregarme como usuario sudo haciendo visudo
> > y agregando la línea
> > 
> > julian ALL=(ALL) ALL
> > 
> 
> Prueba con esto:
> 
> julian ALL=PASSWD: ALL
> 

Tambien podes agregar al grupo, tal cual lo dice el archivo sudoers
al principio:
%sudoers   ALL=(ALL) ALL

Claro que al mismo tiempo deberias estar en ese grupo, que te agregas
haciendo 'addgroup sudoers && adduser julian sudoers' 
(el addgroup lo haces en caso de que no exista tal grupo)

Y por si queres ejecutar comandos sin password, podes hacerlo de esta 
manera:

julian ALL = NOPASSWD: /sbin/ifconfig 


Saludos


-- 
JID: lavaramano@jabber.org | http://lusers.com.ar/
2B82 A38D 1BA5 847A A74D 6C34 6AB7 9ED6 C8FD F9C1


Reply to: