| delorie.com/archives/browse.cgi | search |
--------------070404090100010709080308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Charles Wilson wrote:
> Corinna Vinschen wrote:
>
>> However, I sent a second patch in
>> http://cygwin.com/ml/cygwin/2008-06/msg00453.html
>> The Interactive Logon Right is also necessary for this account.
>
> I don't know why I missed that. I'll roll 0.1.6 soon.
Here's the followup patch I applied (with modified changedlog). I'll
wait for additional comments concerning cyg_server et. al. appearing in
/etc/passwd before rolling 0.1.6.
--
Chuck
* cygwin-service-installation-helper.sh
(csih_account_has_necessary_privileges): Don't explicitely
test for SeDenyXXX rights, nor for SeIncreaseQuotaPrivilege.
(csih_create_privileged_user): Drop setting
SeDenyInteractiveLogonRight and SeIncreaseQuotaPrivilege.
--------------070404090100010709080308
Content-Type: text/plain;
name="csih-rights-2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="csih-rights-2.patch"
diff -u -b -r1.8 cygwin-service-installation-helper.sh
--- cygwin-service-installation-helper.sh 19 Jul 2008 16:40:31 -0000 1.8
+++ cygwin-service-installation-helper.sh 19 Jul 2008 20:53:31 -0000
@@ -1639,9 +1639,6 @@
editrights -u "${user}" -t SeAssignPrimaryTokenPrivilege >/dev/null 2>&1 &&
editrights -u "${user}" -t SeCreateTokenPrivilege >/dev/null 2>&1 &&
editrights -u "${user}" -t SeTcbPrivilege >/dev/null 2>&1 &&
- editrights -u "${user}" -t SeDenyInteractiveLogonRight >/dev/null 2>&1 &&
- editrights -u "${user}" -t SeDenyRemoteInteractiveLogonRight >/dev/null 2>&1 &&
- editrights -u "${user}" -t SeIncreaseQuotaPrivilege >/dev/null 2>&1 &&
editrights -u "${user}" -t SeServiceLogonRight >/dev/null 2>&1
return # status of previous command-list
fi
@@ -2104,9 +2101,7 @@
editrights -a SeAssignPrimaryTokenPrivilege -u ${username} &&
editrights -a SeCreateTokenPrivilege -u ${username} &&
editrights -a SeTcbPrivilege -u ${username} &&
- editrights -a SeDenyInteractiveLogonRight -u ${username} &&
editrights -a SeDenyRemoteInteractiveLogonRight -u ${username} &&
- editrights -a SeIncreaseQuotaPrivilege -u ${username} &&
editrights -a SeServiceLogonRight -u ${username} &&
username_got_all_rights="yes"
if [ "${username_got_all_rights}" != "yes" ]
--------------070404090100010709080308
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------070404090100010709080308--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |