Cria um arquivo usuarios.txt
 Dai use o script abaixo ou modifique como precisar:

#!/usr/bin/perl

open(USUARIOS,"-|","cat usuarios.txt");

while ($usuarios = <USUARIOS>)
        {
        system("adduser -s $usuarios");
        }


                             Qq coisa mande mail.

                                                                []z!Sp0oKeR!




----- Original Message -----
From: "Rog�rio Godoy" <[EMAIL PROTECTED]>
To: "Grupo Brasileiro de Usuarios FreeBSD" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 5:18 PM
Subject: Re: [FUGSPBR] script criar contas


> tudo bem, mas eu quero criar em lote, tipo 100 usuarios de uma vez so...
>
> Wesley Colazelli Gentine wrote:
>
> > adduser -s
> >
> > On Thu, 06 Mar 2003 17:04:56 -0300
> > Rog�rio Godoy <[EMAIL PROTECTED]> wrote:
> >
> > > Ola, alguem tem algum script para criar contas no bsd??? Se tiver,
pode
> > > me enviar, ou dizer onde consigo.
> > >
> > >
> >
> > __
> > Wesley Colazelli Gentine
> > ------------------------
> > System Administrator
> > [EMAIL PROTECTED]
> > ICQ# 8243076
> > UOL.Inc
> >
> > If you're wondering if you left the coffee pot
> > plugged in, you did.
> > _______________________________________________________________
> > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
> _______________________________________________________________
> Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 25/2/2003

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a