From: Stas Sergeev <stsp@aknet.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: Illegal user
Date: Mon, 20 Feb 2006 20:22:52 +0300 [thread overview]
Message-ID: <43F9FAEC.6070509@aknet.ru> (raw)
[-- 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;
}
next reply other threads:[~2006-02-20 17:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 17:22 Stas Sergeev [this message]
2006-02-23 0:34 ` Illegal user Brian Hancock
-- strict thread matches above, loose matches on Subject: below --
2006-02-23 10:39 Stas Sergeev
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F9FAEC.6070509@aknet.ru \
--to=stsp@aknet.ru \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).