* Illegal User
2006-02-05 11:49 Make problem when installing dosemu 1.3.1 Victor Warner
@ 2006-02-08 6:48 ` Brian Hancock
0 siblings, 0 replies; 8+ messages in thread
From: Brian Hancock @ 2006-02-08 6:48 UTC (permalink / raw)
To: linux-msdos
Hi,
I have installed DOSEMU and FreeDOS from the tarball... I do not have root
access to the server, only as a regular user through SSH... I have
installed it into a folder on my home drive...
When I execute dosemu I get an "Illegal user" message...
Does anyone have an ideas about how to rectify this?
Regards
Brian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
[not found] ` <00f801c62c72$2dcfba00$6501a8c0@brianx>
@ 2006-02-09 18:58 ` Stas Sergeev
0 siblings, 0 replies; 8+ messages in thread
From: Stas Sergeev @ 2006-02-09 18:58 UTC (permalink / raw)
To: Brian Hancock; +Cc: linux-msdos
Hello.
Brian Hancock wrote:
> When I execute dosemu I get an "Illegal user" message...
> Does anyone have an ideas about how to rectify this?
See here:
http://sourceforge.net/tracker/?group_id=49784&atid=457448&func=detail&aid=1117902
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
@ 2006-02-20 3:19 Brian Hancock
2006-02-20 3:42 ` Brian Hancock
0 siblings, 1 reply; 8+ messages in thread
From: Brian Hancock @ 2006-02-20 3:19 UTC (permalink / raw)
To: linux-msdos
Thanks for the link Stas...(
http://sourceforge.net/tracker/?group_id=49784&atid=457448&func=detail&aid=1117902)
unfortunately it has not helped me with the "Illegal User!!!" message
Just as a summary of what I have looked at:
1. whoami and id return meaningful information
2. username c_all was added to the /etc/dosemu/dosemu.users file (now
removed since it didn't work)
3. The X-server files were present
libXext.so.6
libX11.so.6
libm.so.6
libdl.so.2
libc.so.6 ld-linux.so.2
with the exception of
libslang.so.1 but there was a libslang-utf8.so.1
(but I do not need Xdosemu anyway)
4 The library files libnss_compat.so.1 and libnsl.so.1 are present in the
/lib directory
When I first ran DOSEMU two directories were created in my home directory.
.dosemu containing freedos
and
dosemu containing a drives folder containing a c symbolic link back to the
freedos directory
Whether you execute dosemu or dosemu.bin it still fails with am "Illegal
User!!!" message
Does anyone have any other ideas? or did I miss something?
Many thanks
Brian
----- Original Message -----
From: "Stas Sergeev" <stsp@aknet.ru>
To: "Brian Hancock" <brian.hancock@brileigh.com>
Cc: "linux-msdos" <linux-msdos@vger.kernel.org>
Sent: Friday, February 10, 2006 5:58 AM
Subject: Re: Illegal user
> Hello.
>
> Brian Hancock wrote:
>> When I execute dosemu I get an "Illegal user" message...
>> Does anyone have an ideas about how to rectify this?
> See here:
> http://sourceforge.net/tracker/?group_id=49784&atid=457448&func=detail&aid=1117902
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
2006-02-20 3:19 Brian Hancock
@ 2006-02-20 3:42 ` Brian Hancock
0 siblings, 0 replies; 8+ messages in thread
From: Brian Hancock @ 2006-02-20 3:42 UTC (permalink / raw)
To: linux-msdos
An additional note...
I have just contact the webhost support and when they tried to execute
dosemu as root they receive a "vm86plus not available message"... the server
is a 64-bit system.
Regards
Brian
----- Original Message -----
From: "Brian Hancock" <brian.hancock@brileigh.com>
To: <linux-msdos@vger.kernel.org>
Sent: Monday, February 20, 2006 2:19 PM
Subject: Re: Illegal user
> Thanks for the link Stas...(
> http://sourceforge.net/tracker/?group_id=49784&atid=457448&func=detail&aid=1117902)
>
> unfortunately it has not helped me with the "Illegal User!!!" message
>
> Just as a summary of what I have looked at:
> 1. whoami and id return meaningful information
> 2. username c_all was added to the /etc/dosemu/dosemu.users file (now
> removed since it didn't work)
> 3. The X-server files were present
> libXext.so.6
> libX11.so.6
> libm.so.6
> libdl.so.2
> libc.so.6 ld-linux.so.2
> with the exception of
> libslang.so.1 but there was a libslang-utf8.so.1
> (but I do not need Xdosemu anyway)
>
> 4 The library files libnss_compat.so.1 and libnsl.so.1 are present in
> the /lib directory
>
> When I first ran DOSEMU two directories were created in my home directory.
> .dosemu containing freedos
> and
> dosemu containing a drives folder containing a c symbolic link back to the
> freedos directory
>
> Whether you execute dosemu or dosemu.bin it still fails with am "Illegal
> User!!!" message
>
> Does anyone have any other ideas? or did I miss something?
>
> Many thanks
> Brian
>
> ----- Original Message -----
> From: "Stas Sergeev" <stsp@aknet.ru>
> To: "Brian Hancock" <brian.hancock@brileigh.com>
> Cc: "linux-msdos" <linux-msdos@vger.kernel.org>
> Sent: Friday, February 10, 2006 5:58 AM
> Subject: Re: Illegal user
>
>
>> Hello.
>>
>> Brian Hancock wrote:
>>> When I execute dosemu I get an "Illegal user" message...
>>> Does anyone have an ideas about how to rectify this?
>> See here:
>> http://sourceforge.net/tracker/?group_id=49784&atid=457448&func=detail&aid=1117902
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
@ 2006-02-20 4:44 Stas Sergeev
0 siblings, 0 replies; 8+ messages in thread
From: Stas Sergeev @ 2006-02-20 4:44 UTC (permalink / raw)
To: linux-msdos
Hello.
Brian Hancock wrote:
> Whether you execute dosemu or dosemu.bin it still fails with am
> "Illegal User!!!" message
Do you have dosemu.bin with the suid bit set perhaps?
Illegal user is printed when getpwuid(getuid())==NULL,
which usually shouldn't happen. Try CVS code - it will
print more information on that error.
If nothing helps, just remove that uid checking from
the parser.y.in file and recompile dosemu.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
@ 2006-02-20 17:22 Stas Sergeev
2006-02-23 0:34 ` Brian Hancock
0 siblings, 1 reply; 8+ messages in thread
From: Stas Sergeev @ 2006-02-20 17:22 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
Stas Sergeev wrote:
> 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.
[-- Attachment #2: getpw.c --]
[-- Type: text/x-csrc, Size: 215 bytes --]
#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;
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
2006-02-20 17:22 Stas Sergeev
@ 2006-02-23 0:34 ` Brian Hancock
0 siblings, 0 replies; 8+ messages in thread
From: Brian Hancock @ 2006-02-23 0:34 UTC (permalink / raw)
To: linux-msdos
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" <stsp@aknet.ru>
To: <linux-msdos@vger.kernel.org>
Sent: Tuesday, February 21, 2006 4:22 AM
Subject: Re: Illegal user
> Stas Sergeev wrote:
>> 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;
> }
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Illegal user
@ 2006-02-23 10:39 Stas Sergeev
0 siblings, 0 replies; 8+ messages in thread
From: Stas Sergeev @ 2006-02-23 10:39 UTC (permalink / raw)
To: linux-msdos
Hello.
Brian Hancock wrote:
> 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
The thing is that you are not supposed to run
dosemu as root, as this is a serious security threat.
Even though you haven't run my test program, I suspect
that the problem was that /etc/passwd wasn't readable
for the user, and when you started dosemu as root, it
was able to read /etc/passwd. Normally /etc/passwd is
readable for the users, so dosemu can run.
> Sorry to send you out chasing a red herring...
I don't think so, dosemu is not supposed to require root
to run. As for the 64bit CPU - yes, switching to the 32bit
one is the solution for now.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-23 10:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 10:39 Illegal user Stas Sergeev
-- strict thread matches above, loose matches on Subject: below --
2006-02-20 17:22 Stas Sergeev
2006-02-23 0:34 ` Brian Hancock
2006-02-20 4:44 Stas Sergeev
2006-02-20 3:19 Brian Hancock
2006-02-20 3:42 ` Brian Hancock
2006-02-07 16:32 Generating Interrupt 10h (switching from protected mode to real mode) Stas Sergeev
[not found] ` <00f801c62c72$2dcfba00$6501a8c0@brianx>
2006-02-09 18:58 ` Illegal user Stas Sergeev
2006-02-05 11:49 Make problem when installing dosemu 1.3.1 Victor Warner
2006-02-08 6:48 ` Illegal User Brian Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).