Skip to contentSkip to conversation

Illegal user

DISCUSSION Stas Sergeev 2 participants 2 messages Feb 20, 2006 – Feb 23, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Stas Sergeev

If nothing helps, just remove that uid checking from the parser.y.in file and recompile dosemu.

No, that won't work, don't try.
Run the attached test program instead, please.

#include <stdio.h>
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#include <stdlib.h>

int main()
{
printf("%p\n", getpwuid(getuid()));
perror("getpw");
system("ls -l /etc/passwd");
return 0;
}

#1 lore raw

Hi Stav,

Thanks for your assistance... The webhost had put my account onto a 64-bit server... In trying to sort out the "Illegal User" message, I asked their support to try and run DOSEMU as root which they did and got a "vm86plus not available" and then they mentioned to me that it was on a 64 bit server... They moved it over to a 32-bit server and everything works fine...

Sorry to send you out chasing a red herring...

Regards
Brian

----- Original Message ----- From: "Stas Sergeev" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 21, 2006 4:22 AM
Subject: Re: Illegal user

Quoted 7 lines
Quoted 2 lines · Stas Sergeev

If nothing helps, just remove that uid checking from the parser.y.in file and recompile dosemu.

No, that won't work, don't try.
Run the attached test program instead, please.

--------------------------------------------------------------------------------

Quoted 14 lines

#include <stdio.h>
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#include <stdlib.h>

int main()
{
printf("%p\n", getpwuid(getuid()));
perror("getpw");
system("ls -l /etc/passwd");
return 0;
}