Ignore:
Timestamp:
Jun 29, 2007, 1:34:14 PM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.25b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/docs/manpages/smbpasswd.8

    r39 r44  
    2222smbpasswd - change a user's SMB password
    2323.SH "SYNOPSIS"
    24 .HP 10
    25 \fBsmbpasswd\fR [-a] [-c <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]
     24.HP 1
     25smbpasswd [-a] [-c <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]
    2626.SH "DESCRIPTION"
    2727.PP
     
    3535.PP
    3636By default (when run with no arguments) it will attempt to change the current user's SMB password on the local machine. This is similar to the way the
    37 \fBpasswd(1)\fR
     37passwd(1)
    3838program works.
    39 \fB smbpasswd\fR
     39smbpasswd
    4040differs from how the passwd program works however in that it is not
    4141\fBsetuid root\fR
     
    5252.PP
    5353When run by root, smbpasswd allows new users to be added and deleted in the smbpasswd file, as well as allows changes to the attributes of the user in this file to be made. When run by root,
    54 \fB smbpasswd\fR
     54smbpasswd
    5555accesses the local smbpasswd file directly, thus enabling changes to be made even if smbd is not running.
    5656.SH "OPTIONS"
     
    100100.sp
    101101If the smbpasswd file is in the 'old' format, then
    102 \fB smbpasswd\fR
     102smbpasswd
    103103will FAIL to enable the account. See
    104104\fBsmbpasswd\fR(5)
     
    126126file :
    127127.sp
    128 \fBnull passwords = yes\fR
     128null passwords = yes
    129129.sp
    130130This option is only available when running smbpasswd as root.
     
    156156.RS 3n
    157157.TP 3n
    158 &#8226;
     158\(bu
    159159\fBlmhosts\fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
    160160\fBlmhosts\fR(5)
    161161for details) then any name type matches for lookup.
    162162.TP 3n
    163 &#8226;
     163\(bu
    164164\fBhost\fR: Do a standard host name to IP address resolution, using the system
    165165\fI/etc/hosts \fR, NIS, or DNS lookups. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the
     
    167167file). Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored.
    168168.TP 3n
    169 &#8226;
     169\(bu
    170170\fBwins\fR: Query a name with the IP address listed in the
    171171\fIwins server\fR
    172172parameter. If no WINS server has been specified this method will be ignored.
    173173.TP 3n
    174 &#8226;
     174\(bu
    175175\fBbcast\fR: Do a broadcast on each of the known local interfaces listed in the
    176176\fIinterfaces\fR
     
    179179.IP "" 3n
    180180The default order is
    181 \fBlmhosts, host, wins, bcast\fR
     181lmhosts, host, wins, bcast
    182182and without this parameter or any entry in the
    183183\fBsmb.conf\fR(5)
     
    202202.RS 3n
    203203This option prints the help string for
    204 \fB smbpasswd\fR, selecting the correct one for running as root or as an ordinary user.
     204smbpasswd, selecting the correct one for running as root or as an ordinary user.
    205205.RE
    206206.PP
     
    210210\fI/dev/tty\fR
    211211(like the
    212 \fBpasswd(1)\fR
     212passwd(1)
    213213program does). This option is to aid people writing scripts to drive smbpasswd
    214214.RE
     
    228228-W
    229229.RS 3n
    230 \fBNOTE: \fR
     230NOTE:
    231231This option is same as "-w" except that the password should be entered using stdin.
    232232.sp
     
    262262.PP
    263263Since
    264 \fBsmbpasswd\fR
     264smbpasswd
    265265works in client-server mode communicating with a local smbd for a non-root user then the smbd daemon must be running for this to work. A common problem is to add a restriction to the hosts that may access the
    266 \fB smbd\fR
     266smbd
    267267running on the local machine by specifying either
    268268\fIallow hosts\fR
Note: See TracChangeset for help on using the changeset viewer.