smbpasswd and 32 X's
Benjamin Kuit
bj at mcs.uts.edu.au
Mon Mar 15 23:57:35 GMT 1999
> Hi,
>
> acting on information supplied by a Canadian guy who has been messing with
> Samba and Win NT, I entered the following command at a Linux console :-)
>
> grep XXX /etc/smbpasswd | head -1 | cut -f3 -d: | wc
>
> and received the following:
>
> 1 1 33
>
> Same happens if I look for -f4 in the cut above.
The 33 would be the 32 X characters, plus the return character.
eg
echo X | wc
1 1 2
Bj
+-------------------------------+--------------------------------------+
| Benjamin (Bj) Kuit | Faculty Of Mathematical |
| Systems Programmer | and Computing Sciences. |
| Phone: 02 9514 1841 | University of Technology, Sydney |
| Mobile: 0412 182 972 | bj at mcs.uts.edu.au |
+-------------------------------+--------------------------------------+
More information about the samba-technical
mailing list