Olá Molinero,

É que estava precisando alterar senhas do samba e disponibiliza-la via 
web para um acesso wireless de visitante.

Resolví da seguinte forma:

( echo $SENHA1 ; echo $SENHA1 ) | smbpasswd -s -a visitante1
( echo $SENHA2 ; echo $SENHA2 ) | smbpasswd -s -a visitante2


Abraços,
Marcelo


Molinero escreveu:
> Seja mais especifico no que vc precisa.
>
>
> ======================================
>                   CyberCrow
>         Conhecimento é Poder !
>
>   Quando voce perde a mente limitada
>        Voce liberta a sua vida
>
>   http://cybercrow.blogspot.com
> ======================================
>
>    1. Try to find an answer by searching the archives of the forum you plan 
> to post to.
>    2. Try to find an answer by searching the Web.
>    3. Try to find an answer by reading the manual.
>    4. Try to find an answer by reading a FAQ.
>    5. Try to find an answer by inspection or experimentation.
>    6. Try to find an answer by asking a skilled friend.
>    7. If you're a programmer, try to find an answer by reading the source 
> code.
>
> -----BEGIN GEEK CODE BLOCK-----
>   Version: 3.12
>   GCM/L/U d- s-: a- C++ LSU++++ P+ L+++ E--- W++ N w--
>   O-- M- V- PS PE- Y PGP++ t 5 X++ R tv- b++ DI D+
>   G++ e- h* r y+
> -------END GEEK CODE BLOCK------
>
>
>
> Marcelo wrote:
>   
>> Srs,
>>
>> Estou precisando gerar senhas do samba, mas senhas conhecidas tipo:
>>
>> smbpasswd "senha1" usuario1
>> smbpasswd "senha2" usuario2
>>
>> Alguém conhece alguma forma?
>>
>>
>> Valeu!
>> Marcelo
>>
>> ---------------------------------------------------------------------
>> Esta mensagem pode conter informacao confidencial.
>> Se voce nao for o destinatario ou a pessoa autorizada a receber
>> esta mensagem, nao podera usar, copiar ou divulgar as informacoes nela
>> contidas ou tomar qualquer acao baseada nessas informacoes. Se
>> voce recebeu esta mensagem por engano, favor avisar imediatamente o
>> remetente, respondendo o e-mail e, em seguida, apague-o.
>> Agradecemos sua cooperacao.
>>
>> This message may contain confidential information.
>> If you are not the addressee or authorized person to receive it for the
>> addressee, you must not use, copy, disclose or take any action based on
>> this message or any information herein. If you have received this message
>> in error, please advise the sender immediately by replying this e-mail 
>> message and delete it.
>> Thanks in advance for your cooperation.
>> ----------------------------------------------------------------------
>>                LIM16   Faculdade de Medicina USP
>> ----------------------------------------------------------------------
>>
>>
>>     
>>   
>>     
>
> >   

---------------------------------------------------------------------
Esta mensagem pode conter informacao confidencial.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao podera usar, copiar ou divulgar as informacoes nela
contidas ou tomar qualquer acao baseada nessas informacoes. Se
voce recebeu esta mensagem por engano, favor avisar imediatamente o
remetente, respondendo o e-mail e, em seguida, apague-o.
Agradecemos sua cooperacao.

This message may contain confidential information.
If you are not the addressee or authorized person to receive it for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this message
in error, please advise the sender immediately by replying this e-mail 
message and delete it.
Thanks in advance for your cooperation.
----------------------------------------------------------------------
               LIM16   Faculdade de Medicina USP
----------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---

Responder a