SAMUSRGRP(8) | System Manager's Manual | SAMUSRGRP(8) |
samusrgrp - add or remove users from groups in SAM database files
samusrgrp [options] <samfile>
This manual page documents briefly the samusrgrp command. This manual page was written for the Debian distribution because the original program does not have a manual page.
samusrgrp is a non-interactive command line utility that can add or remove a user from a local group that exists in the SAM user database of a Microsoft Windows system (Windows NT, 2000, XP, Vista, 7, 8.1, etc.). This file is usually located at \WINDOWS\system32\config\SAM on the file system of a Microsoft Windows Operating System
On success, the program does not output any informatin and the exit code is 0.
The binary program supports multiple names. If it is called named samusrtogrp it will assume -a mode (add user). If it is called named samusrfromgrp it will assume -r mode (remove user).
If the username includes international (non-ASCII) characters the program will not (usually) find it. Use the RID number instead.
chntpwd, reged, sampasswd
You will find more information available on how this program works, in the
text files /usr/share/doc/chntpw/README.txt and
/usr/share/doc/chntpw/MANUAL.txt
More documentation is available at the upstream's author site: http://pogostick.net/~pnh/ntpasswd/
This program was written by Petter N Hagen.
This manual page was written by Javier Fernandez-Sanguino <jfs@debian.org>, for the Debian GNU/Linux system (but may be used by others).
6th August 2014 |