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

Re: cryptage password ds script shell



Le dim 21/07/2002 à 17:47, ch045-2 a écrit :
> Par defaut, la page man du mkpasswd de ma station renvoit:
> "mkpasswd generates passwords and can apply them automatically to users. 
> mkpasswd is based on the code from Chapter 23 of the O'Reilly book "Exploring 
> Expect". "
> Pour moi cette fonction ne remplie pas les conditions recherchées.
> Elles génere un nouveau mot de passe, elle ne crypte pas un mot de passe 
> existant!
> Je trouve un peu lourd d'installer whois pour génerer un mot de passe.
> Je reste donc sur la proposition de Romain.
> 
> Encore merci et bonne soirée à tous.
> 

Hum c'est etrange ce que tu nous dis la...

NAME
       mkpasswd - Overfeatured front end to crypt(3)

SYNOPSIS
       mkpasswd PASSWORD SALT

DESCRIPTION
       mkpasswd  encrypts  the  given  password with the crypt(3)
       libc function using the given salt.


~> mkpasswd passwd_en_clair
j3YSc52PxkXz2

Ce qui a l'air tout a fait correct pour faire ce que tu recherches ?!

Ne confonds tu pas avec makepasswd qui lui ne prend pas d'argument
et genere un mot de passe totalement aleatoire ?

-- 
DEGEZ Romain                                   -- EPITECH Promo 2006
Administrateur Systemes & Reseaux pour SmartJog (Video broadcasting)
President de Cycom l'assocation de jeux en reseau de l'EPITA/EPITECH
Debian GNU/Linux user  -- UIN: 10806422 --  mail: rdegez@ouhyeah.com 
GPG Fingerprint	:  FD0B AF56 EDC1 98ED 95B9 636F B5D2 4CAB 0B36 3FE2

Attachment: signature.asc
Description: PGP signature


Reply to: