[ LUGOS-PROG ] Generiranje nakljucnega gesla

Metod Kozelj metod.kozelj at rzs-hm.si
Tue Apr 17 09:32:12 CEST 2001


Howdy!

On Sat, 14 Apr 2001, Rok Papez wrote:

> Kako bi samo z bash skripto in osnovnimi orodji, ki jih
> najdes na vsakem sistemu izdelal neko nakljucno
> geslo ?

Hmmm ... kaj pa uporaba mkpasswd(1)?

NAME
       mkpasswd - generate new password, optionally apply it to a
       user

SYNOPSIS
       mkpasswd [ args ] [ user ]

INTRODUCTION
       mkpasswd generates passwords and can apply them  automati­
       cally  to users.  mkpasswd is based on the code from Chap­
       ter 23 of the O'Reilly book "Exploring Expect".

USAGE
       With no arguments, mkpasswd returns a new password.

            mkpasswd

       With a user name, mkpasswd assigns a new password  to  the
       user.

            mkpasswd don

       The  passwords  are  randomly  generated  according to the
       flags below.

Peace!
  Mkx

---- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the lugos-prog mailing list