useradd script

I.Ioannou roryt at hol.gr
Mon Sep 25 14:32:36 EEST 2000


George Liolios wrote:
> 
> useradd -u 512 -g users -s /bin/bash -u
> /home/tkostopoulos -p sol54 tkostopoulos

( NOTES: 
  1) oxi -u /home/tkostopoulos alla -d
  2) Fantazomai oti mesa sto script exeis 512 diaforetika
     usernames/uids/home directories, etsi ? 
     Alliws den mporeis na dimiourgiseis 512 fores to idio onoma
     O monos tropos na ginei ayto einai me vi passwd kai shadow
)

To -p prepei na einai to kwdikopoihmeno passwd

dwse (prosoxi sta ` kai sta ' ) :
-p `perl -e 'print crypt ("sol54", "sQ") '`

opou sQ to salt, koita sto yparxon shadow ta 
dyo prwta grammata tou kathe passwd na pareis mia idea
gia to salt

I.Ioannou <roryt at hol.gr>

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list