Estou tendo um problema em adicionar usu�rio no samba e no apache
eu tenho um script que roda o seguinte comando:
smbpasswd -a ${USUARIO} ${SENHA}
e
htpasswd -b /etc/apache/internet.senhas ${USUARIO} ${SENHA}
e quando eu rodo esse comando me retorna a seguente msg:
When run by root:
   smbpasswd [options] [username]
otherwise:
   smbpasswd [options]

options:
-L local mode (must be first option)
-h print this usage message
-s use stdin for password prompt
-c smb.conf file Use the given path to the smb.conf file
-D LEVEL debug level
-r MACHINE remote machine
-U USER remote username
extra options when run by root or in local mode:
-a add user
-d disable user
-e enable user
-i interdomain trust account
-m machine trust account
-n set no password
-w PASSWORD ldap admin password
-x delete user
-R ORDER name resolve order
htpasswd: The file /etc/apache/internet.senhas does not appear to be a valid htpasswd file.
[EMAIL PROTECTED] root]#


Algu�m sabe oq pode ser... esse script funcionava at� eu fazer upgrade no samba.
Obrigado,
Rafael.
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br


Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a