YoRcH

My Blog ...

miércoles, 25 de junio de 2008

Generar Shadow Passwords

Para generar shadow passwords con PERL simplemente se usa la función crypt.

perl -e 'print crypt("jorge", "./"),"\n"'

Para cambiar passwd a usuario

usermod -p $(perl -e 'print crypt("jorge", "./"),"\n"') yorch
Publicado por YoRcH en 13:46:00
Etiquetas: PERL

No hay comentarios:

Publicar un comentario

Entrada más reciente Entrada antigua Inicio
Suscribirse a: Enviar comentarios (Atom)

Datos personales

Mi foto
YoRcH
Jorge Alberto Ponce Turrubiates
Ver todo mi perfil

My Nerd Score

My Nerd Score

Archivo del blog

  • ►  2016 (6)
    • ►  junio (1)
    • ►  abril (1)
    • ►  febrero (2)
    • ►  enero (2)
  • ►  2014 (9)
    • ►  diciembre (1)
    • ►  noviembre (2)
    • ►  septiembre (2)
    • ►  julio (3)
    • ►  abril (1)
  • ►  2013 (4)
    • ►  septiembre (1)
    • ►  agosto (2)
    • ►  abril (1)
  • ►  2012 (12)
    • ►  mayo (2)
    • ►  abril (3)
    • ►  marzo (6)
    • ►  enero (1)
  • ►  2010 (6)
    • ►  diciembre (3)
    • ►  julio (1)
    • ►  mayo (1)
    • ►  marzo (1)
  • ►  2009 (2)
    • ►  septiembre (1)
    • ►  mayo (1)
  • ▼  2008 (27)
    • ►  diciembre (1)
    • ►  noviembre (10)
    • ►  octubre (1)
    • ▼  junio (15)
      • Entre Pairos y Derivas
      • Woman - John Lennon
      • Citas ...
      • Citas ...
      • Generar Shadow Passwords
      • Notas de Curso de Linux
      • Desactivar UAC
      • Crear Variables de Entorno con VBS
      • System.getProperty()
      • Citas ...
      • Citas ...
      • Citas ...
      • Citas ...
      • Otra de Sabina
      • Un poeta hispano
  • ►  2007 (15)
    • ►  noviembre (1)
    • ►  octubre (13)
    • ►  mayo (1)
Tema Sencillo. Con la tecnología de Blogger.