← Back to team overview

sslug-teknik team mailing list archive

Re: Sv: Re: smbpasswd

 

fra man smbpasswd


NAME
       smbpasswd - change a users SMB password

SYNOPSIS
       smbpasswd [-a] [-d] [-e] [-D debug level] [-n] [-r remote_machine] [-R name resolve order] [-m] [-j DOMAIN] [-U
       username] [-h] [-s] username

<klip>

   -e     This  option specifies that the username following should be enabled in the local smbpasswd file, if the
              account was previously disabled. If the account was not disabled this option has  no  effect.  Once  the
              account is enabled then the user will be able to authenticate via SMB once again.

              If  the  smbpasswd  file  is  in the 'old' format then smbpasswd will prompt for a new password for this
              user, otherwise the account will be enabled by removing the 'D' flag from account control space  in  the
              smbpasswd file. See smbpasswd (5) for details on the 'old' and new password file formats.

              This option is only available when running smbpasswd as root.

<klip>

Som udgangs punkt er alle brugere disablet, hvis man oprette ved at overfører passwd filen....
*********** REPLY SEPARATOR ***********

On 24-02-99, at 16:19, E. Sjørlund wrote:

>Fra: Lasse Wieslander <cf_linux@xxxxxxxxxxxxx>
>
>
>>husk bagefter at enable brugeren
>>
>>(ellers kan man bruge *meget* lang tid på at bande over at man ikke kan logge ind :-))
>>
>>/Lasse
>
>
>Sikkert et godt råd, gider du lige skrive hvordan?
>
>mvh
>E. Sjørlund


References