* 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 Illegal user 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-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
* 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-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: Generating Interrupt 10h (switching from protected mode to real mode)
@ 2006-02-07 16:32 Stas Sergeev
[not found] ` <00f801c62c72$2dcfba00$6501a8c0@brianx>
0 siblings, 1 reply; 8+ messages in thread
From: Stas Sergeev @ 2006-02-07 16:32 UTC (permalink / raw)
To: Vishal Soni; +Cc: Linux MSDOS
Hello.
Vishal Soni wrote:
> like i am doing below in my sample driver for linux.
[]
> Could anyone please
> brief me the steps or the sample code or any pointers to do the
> same.i.e how do we save processor context and then achieve the same by
> vm86() system call.
Sample of the kernel driver:
http://dev.gentoo.org/~spock/projects/vesafb-tng/archive/vesafb-tng-1.0-rc1-r3-2.6.15-rc1.patch
Userspace interface:
http://sourceforge.net/projects/lrmi
hth.
ps: this list is about a dosemu, the user-space PC/DOS emulator, not
about the vm86 usage in general.
^ permalink raw reply [flat|nested] 8+ messages in thread* Make problem when installing dosemu 1.3.1
@ 2006-02-05 11:49 Victor Warner
2006-02-08 6:48 ` Illegal User Brian Hancock
0 siblings, 1 reply; 8+ messages in thread
From: Victor Warner @ 2006-02-05 11:49 UTC (permalink / raw)
To: linux-msdos
I reinstalled linux on my laptop (Linspire 5.5.347) and reinstalled all the relevant
libraries.
When compiling dosemu, getting errors when running make (relevant bit detailed below). I have
reinstalled slang library.
Help greatly appreciated.
Victor Warner
gcc -c -I/usr/X11R6/include -MP -MMD -I../../../src/include -I../../../src/plugin/include
-Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -O2 -fomit-frame-pointer
-fno-strict-aliasing -mcpu=i686 -pipe -o keyb_slang.o keyb_slang.c
keyb_slang.c: In function `define_key':
keyb_slang.c:682: error: `SLang_Error' undeclared (first use in this function)
keyb_slang.c:682: error: (Each undeclared identifier is reported only once
keyb_slang.c:682: error: for each function it appears in.)
keyb_slang.c: In function `init_slang_keymaps':
keyb_slang.c:888: error: `SLang_Error' undeclared (first use in this function)
keyb_slang.c: In function `do_slang_getkeys':
keyb_slang.c:1375: error: `SLang_Error' undeclared (first use in this function)
make[2]: *** [keyb_slang.o] Error 1
make[2]: Leaving directory `/home/victor/various/dosemu-1.3.1/src/plugin/term'
make[1]: *** [plugin/term] Error 2
make[1]: Leaving directory `/home/victor/various/dosemu-1.3.1/src'
make: *** [default] Error 2
---- Message sent via Waitrose Webmail - http://www.waitrose.com/
^ 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-20 3:19 Illegal user Brian Hancock
2006-02-20 3:42 ` Brian Hancock
-- strict thread matches above, loose matches on Subject: below --
2006-02-23 10:39 Stas Sergeev
2006-02-20 17:22 Stas Sergeev
2006-02-23 0:34 ` Brian Hancock
2006-02-20 4:44 Stas Sergeev
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.