[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Ændring af password fra komandolinien. Hvordan?



prøv
man chpasswd

> Hejsa folkens - nej det er ikke helt så enkelt :-)
>
> Jeg har brug for at ændre passwordet på en bruger ved hjælp af passwd,
> men finten er at der skal genereres et tilfældigt password af maskinen
> som så skal skrives ud på et kort.
>
> Jeg har forsøgt med med følgende one-liner:
>         X=3edcvfr4 ; echo -e "$X\r\n$X" | passwd cu-6d80
>
> som burde særre pw for cu-6d80 til 3edcvfr4, men maskinen melder:
>
> <cut>
> Enter new UNIX password: Retype new UNIX password: Sorry, passwords do
> not match
> passwd: Authentication information cannot be recovered
> passwd: password unchanged
> </cut>
>
> Hvem har en ide til det?
>
> Det er rimeligt vigtigt at det sker via passwd, da den holder styr på
> diverse steder hvor der skal rettes (/etc/passwd, samba, NIS og andre
> steder)
>
> Maskinen kører debianedu (aka skolelinux) hvis det skulle ha betydning.
>
>
>

Sven Erik Morsing
Sektornetansvarlig
Det kristne Gymnasium


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2007-07-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *