win32security.LogonUser

Darrell Gallion dgallion1 at yahoo.com
Tue Jul 8 17:50:03 EDT 2003


Here's all the privileges I try to get.
Only SE_UNSOLICITED_INPUT_NAME fails.

I'm part of a domain and there's something about the
domain overriding local settings.

Thanks for your help.
--Darrell

SE_SYSTEMTIME_NAME SeSystemtimePrivilege
SE_ASSIGNPRIMARYTOKEN_NAME
SeAssignPrimaryTokenPrivilege
SE_PROF_SINGLE_PROCESS_NAME
SeProfileSingleProcessPrivilege
SE_SYSTEM_PROFILE_NAME SeSystemProfilePrivilege
SE_SYSTEM_ENVIRONMENT_NAME
SeSystemEnvironmentPrivilege
SE_LOCK_MEMORY_NAME SeLockMemoryPrivilege
SE_AUDIT_NAME SeAuditPrivilege
SE_CHANGE_NOTIFY_NAME SeChangeNotifyPrivilege
SE_LOAD_DRIVER_NAME SeLoadDriverPrivilege
SE_SHUTDOWN_NAME SeShutdownPrivilege
SE_INCREASE_QUOTA_NAME SeIncreaseQuotaPrivilege
SE_SECURITY_NAME SeSecurityPrivilege
SE_TCB_NAME SeTcbPrivilege
SE_CREATE_PAGEFILE_NAME SeCreatePagefilePrivilege
SE_INC_BASE_PRIORITY_NAME
SeIncreaseBasePriorityPrivilege
SE_MACHINE_ACCOUNT_NAME SeMachineAccountPrivilege
SE_UNSOLICITED_INPUT_NAME SeUnsolicitedInputPrivilege
Fail
SE_REMOTE_SHUTDOWN_NAME SeRemoteShutdownPrivilege
SE_RESTORE_NAME SeRestorePrivilege
SE_DEBUG_NAME SeDebugPrivilege
SE_CREATE_PERMANENT_NAME SeCreatePermanentPrivilege
SE_CREATE_TOKEN_NAME SeCreateTokenPrivilege
SE_TAKE_OWNERSHIP_NAME SeTakeOwnershipPrivilege
SE_BACKUP_NAME SeBackupPrivilege
SeChangeNotifyPrivilege
SeTcbPrivilege
SeAssignPrimaryTokenPrivilege
Testing winprocess.py...
CMD.EXE exit code:
Traceback (most recent call last):
  File "E:\su.py", line 64, in ?
    stdout=out, stderr=out)
  File
"C:\Python22\lib\site-packages\win32\demos\winprocess.py",
line 163, in run
    child = Process(cmd, **kw)
  File
"C:\Python22\lib\site-packages\win32\demos\winprocess.py",
line 104, in __init__
    hUser = logonUser(login)
  File
"C:\Python22\lib\site-packages\win32\demos\winprocess.py",
line 34, in logonUser
    win32con.LOGON32_PROVIDER_DEFAULT
pywintypes.error: (1314, 'LogonUser', 'A required
privilege is not held by the client.')

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com





More information about the Python-list mailing list