adduser

Harris Kosmidhs hkosmidi at hal.csd.auth.gr
Thu Jan 14 12:08:08 EET 1999


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Prosoxi, h lista tha metaferthei sto lists.hellug.gr
ksimeromata Pemptis pros Paraskeyh
H nea dieuyhinsi einai linux-greek-users at hellug.gr
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

On Wed, 13 Jan 1999 Michalis.Kabrianis at nefeli.forthnet.gr wrote:

> An katalaba kala to problima sou einai to encrypted passwd, opote poly apla
> ftiaxneis ena programmataki (se c) i scriptaki (se perl)  pou na kaleis tin
> crypt() kai na sou epistrefei to encrypted passwd. 
> 
> Pare ena proxeiro se perl.
> 
> #!/usr/local/bin/perl
> print "Password? ";
> chomp ($pass = <STDIN>);
> print "Salt? ";
> chomp ($salt = <STDIN>);
> $password=crypt($pass,$salt);
> print "To encrypted password einai to $password \n";
> 
> Gia to ti kanei i crypt kai ti einai to salt, an den ksereis diladi, man crypt

Oxi apla ennousa an xreiazetai kana programmataki opos autoii pou eipe o
Giorgos. Allios kano vi /etc/passwd kai meta passwd xrhsths

Harris

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at cs-net.gr
Ta archives tis listas einai sto http://www.cs-net.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list