🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.programmeren
Article #728

Re: Paralelle Poort acess als gewone user?

#728
From: Bart Vandewoestyne
Date: Sun, 07 Nov 1999 00:00
34 lines
2078 bytes
Bernhard Dobbels wrote:
> 
> Debian eens installeren, dan werken al die dingen goed :)

Heaven:~$ cat /etc/debian_version 
potato

Ik zou eerder durven stellen manpages-dev installeren ;-)  Intussen
bekom ik de manpage dus, maar heb nog altijd problemen.  Bekijk het
volgende:

SYNOPSIS
      #include <unistd.h>

      int setuid(uid_t uid)

Hoe geef ik in godsnaam aan de functie setuid() een variabele van het
type uid_t mee ???  Kan iemand mij hier een voorbeeld van geven?  Root
user heet dus "root" en als gewone user "user" gebruiken in het
voorbeeld, ok ?

Tnx
MC303

-- 
Bart Vandewoestyne		http://hello.to/MC303		
Hugo Verrieststraat 48		Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM			ICQ# 21275340
BELGIUM - EUROPE		nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------------
If carpenters made buildings the way programmers make programs, the 
first woodpecker to come along would destroy all of civilization.
				- Weinberg's Second Law -
Technical Details
Message-ID: <38253A80.6B32E584@skynet.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3824ACD8.A1206590@skynet.be> <slrn82aadl.ds1.Bernhard@Viking.tvd.kotnet.org>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,100fd66209ba543c
X-Google-Attributes: gid107324,public
X-Google-Thread: fb7d6,100fd66209ba543c
X-Google-Attributes: gidfb7d6,public
X-Google-Thread: 100a19,100fd66209ba543c
X-Google-Attributes: gid100a19,public
X-Google-Thread: fcea4,100fd66209ba543c
X-Google-Attributes: gidfcea4,public
From: Bart Vandewoestyne <Bart.Vandewoestyne@skynet.be>
Subject: Re: Paralelle Poort acess als gewone user?
Date: 1999/11/07
Message-ID: <38253A80.6B32E584@skynet.be>
X-Deja-AN: 545468632
Content-Transfer-Encoding: 7bit
References: <3824ACD8.A1206590@skynet.be> <slrn82aadl.ds1.Bernhard@Viking.tvd.kotnet.org>
X-Accept-Language: nl-BE, nl, en, de
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@skynet.be
X-Trace: news1.skynet.be 941963987 19062 195.238.12.230 (7 Nov 1999 08:39:47 GMT)
Organization: MyHome
Mime-Version: 1.0
NNTP-Posting-Date: 7 Nov 1999 08:39:47 GMT
Newsgroups: nl.comp.programmeren,be.comp.os.linux,be.comp.programming,nl.comp.os.linux