mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 19:10:36 +08:00
* mkpasswd.c (main): Simplify generating SYSTEM entry. Add entries
for LocalService and NetworkService accounts. Change comments.
This commit is contained in:
parent
3998e2f8e6
commit
11cd2378b0
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mkpasswd.c (main): Simplify generating SYSTEM entry. Add entries
|
||||||
|
for LocalService and NetworkService accounts. Change comments.
|
||||||
|
|
||||||
2008-01-13 Corinna Vinschen <corinna@vinschen.de>
|
2008-01-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX
|
* cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX
|
||||||
|
@ -702,21 +702,11 @@ main (int argc, char **argv)
|
|||||||
{
|
{
|
||||||
if (print_local)
|
if (print_local)
|
||||||
{
|
{
|
||||||
#if 0
|
/* Generate service starter account entries. */
|
||||||
/*
|
printf ("SYSTEM:*:18:544:,S-1-5-18::\n");
|
||||||
* Get 'Everyone' group
|
printf ("LocalService:*:19:544:U-NT AUTHORITY\\LocalService,S-1-5-19::\n");
|
||||||
*/
|
printf ("NetworkService:*:20:544:U-NT AUTHORITY\\NetworkService,S-1-5-20::\n");
|
||||||
print_special (print_sids, &sid_world_auth, 1, SECURITY_WORLD_RID,
|
/* Get 'administrators' group (has localized name). */
|
||||||
0, 0, 0, 0, 0, 0, 0);
|
|
||||||
#endif
|
|
||||||
/*
|
|
||||||
* Get 'system' group
|
|
||||||
*/
|
|
||||||
print_special (print_sids, &sid_nt_auth, 1, SECURITY_LOCAL_SYSTEM_RID,
|
|
||||||
0, 0, 0, 0, 0, 0, 0);
|
|
||||||
/*
|
|
||||||
* Get 'administrators' group
|
|
||||||
*/
|
|
||||||
if (!print_local_groups)
|
if (!print_local_groups)
|
||||||
print_special (print_sids, &sid_nt_auth, 2, SECURITY_BUILTIN_DOMAIN_RID,
|
print_special (print_sids, &sid_nt_auth, 2, SECURITY_BUILTIN_DOMAIN_RID,
|
||||||
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0);
|
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user