osdUserSet

osdUserSet

osd

1998 12-05


NAME

osdUserSet - change user


SYNOPSIS

long osdUserSet(char *username, char *password)

osdUserSet() changes the process owner to the user specified in username. The password must be supplied in order change user.


Return TRUE on success and FALSE on failure.


ARGUMENTS


username The user name to change process ownership to
password The password for username in clear text


BUGS

The behavior is not really identical on Win32 and Unix platforms because the security and user models differ significantly. In order to change user on a Unix platform the calling process must have super-user privileges. On a Win32 platform, the new user is actually logged on and impersonated, whereas in Unix the process is simply changing uid.