adduser
Michalis.Kabrianis at nefeli.forthnet.gr
Michalis.Kabrianis at nefeli.forthnet.gr
Wed Jan 13 14:37:16 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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> mia erothsh gia thn adduser
>
> Otan paei kaneis na baleiu xrhsth tou epitrepei (tou admin) na orisei gia
> poso kairo 8a isxuei. Nomizo by default ena xrono.
> Tora pou phga na kano adduser leei os hmeromhneia lh3hs logariasmou px
> 12/1/100 (htan x/x/99 gia to 1998). Jerei kaneis an 8a uparxei problhma?
>
Agnow. Alla thelw na mathw...
> (slackware 3.5)
>
> Epishs: gia na balo xrhsth mono me thn adduser mporo?
> An kano vi /etc/passwd meta pos mpainei sto /etc/shadow?
>
> Thanks
> Harris
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
-----------------------------
Michalis Kabrianis
kabrianis at hellug.gr
-----------------------------
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.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