473,378 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

SeDebugPrivilege

Using WinXP Prof with IIS 5.1.

The computer is running a few web services (ASP.NET).

The problem, one of the services uses a dll which uses OpenProcess()
win32 api. This method needs SeDebugPrivilege to operate. For
debugging purposes I've used Process Explorer to check the security
level of processes (like aspnet_wp.exe).

In ...\v1.1.4322\CONFIG\machine.config the ASPNET service is
configured to username "machine" and password "Autogenerated". Try
adding Debugging privileges to ASPNET (Control Panel->Adminstrative
Tools->Computer Management) and rebooted computer. When accessing the
web service the aspnet_wp.exe does not have
SeDebugPrivileges (according to Process Explorer).

In ...\v1.1.4322\CONFIG\machine.config I change username to "System"
and password "Autogenerated" and reboot computer. When accessing the
web service the aspnet_wp.exe process has SeDebugPrivilege set to
"default enabled".

It seems odd that adding "debugging" privileges to ASPNET as no effect
on the users' privileges. Can anyone explain this? What am I missing?
Feel more comfortable using the ASPNET user.

Mar 1 '07 #1
0 942

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: wtfhits | last post by:
I'm writing my own task manager as I often change process priorities but have gotten myself into trouble on several occasions. I have discovered by keeping csrss.exe and explorer at the equal highest...
3
by: Eric Livingston | last post by:
Sample code below: Dim iRet As Integer Dim si As New STARTUPINFO Dim pi As PROCESS_INFORMATION si.cb = Marshal.SizeOf(si) iRet = CreateProcessWithLogonW(UserName, DomainName, Password, _...
3
by: Steve Long | last post by:
Hello, I'm using the Process class to get all the current running processes on my machine and looking for a particular process. If I find the process, I want to kill it. However, I've recently...
4
by: Denis Brkljacic | last post by:
Hi, Please, could anybody help me out to fix this... When I put this code: Process aProcesses = Process.GetProcesses(); foreach (Process proc in aProcesses) { if...
1
by: Richard Fennell | last post by:
Am trying to do ASP.NET development on my XP Prof. box logged in as a power user (not the administrator I used to be). As an admin user all is OK. But as a power user, I have made sure my...
5
by: Simon Hart | last post by:
Does anyone know the standard code access permission to be able to manipulate a process using the Process class? Thanks Simon.
2
by: Simon Hart | last post by:
Hi, I have written a Windows Service component in C# which manages processes on the server. The code is required to terminate these processes when they timeout. The Windows Service runs under...
2
by: RedLars | last post by:
Using WinXP Prof with IIS 5.1. The computer is running a few web services (ASP.NET). The problem, one of the services uses a dll which uses OpenProcess() win32 api. This method needs...
33
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
1
by: =?Utf-8?B?U3ludGF4IDM3NzA3?= | last post by:
I have found lots of people talking about this issue, but no one seems to have a solution. I could really use some help here. Has anyone seen this or have any ideas? I have been running the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.