Skip to content

sshd: spawning a session on behalf of a specific user doesn't work #2

Description

@treeswift

CreateProcessW works, but CreateProcessAsUserW doesn't work even if the user handle passed is of the current user running sshd.exe, freshly authenticated.

Use cases to support (test/debug/test):

  • system service account, incoming session on behalf of a named user
  • named user account, incoming session on the same user's behalf
  • named user account (admin), incoming session on another user's behalf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions