On Mar 12, 2009, at 11:41 AM, Funny Farady Coastera wrote:

Okey mas kemas makasih banget.. saya pake pipe

        echo $urutan | passwd --stdin $urutan

bisa pakai chpasswd(8) juga pak de:

NAME
       chpasswd - update passwords in batch mode

SYNOPSIS
       chpasswd [options]

DESCRIPTION
The chpasswd command reads a list of user name and password pairs from standard input and uses this information to update a group of existing users. Each line is of the format:

       user_name:password

By default the supplied password must be in clear-text. Default encryption algorithm is DES. Also the password age will be updated, if present.
....

Distro Ubuntu.

Rgds,
Asfihani

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke