[Samba] compare users in /etc/passwd versus /etc/samba/smbpasswd

Ryan Novosielski novosirj at umdnj.edu
Thu Jan 24 19:25:16 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Drescher wrote:
> On Jan 24, 2008 1:15 PM, Kristoffer Knigga <Kknigga at arrow-financial.com> wrote:
>>  diff
>>
> probably sort as well and maybe awk

cut -f1 -d: to get the first field. Then sort, then diff, or a new
favorite: comm .

=R

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmOYcmb+gadEcsb4RAlwxAKDZMjjuURRaHss5hM4QraGP52g7fQCgg3vX
Iaqio+2+Xb7afWRGSUGoe2M=
=I0yg
-----END PGP SIGNATURE-----


More information about the samba mailing list