From: Adam Dyga <adeon@tlen.pl>
To: linux-c-programming@vger.kernel.org
Subject: Re: HOME directory
Date: Tue, 26 Apr 2005 13:26:19 +0200 [thread overview]
Message-ID: <426E255B.3050805@tlen.pl> (raw)
In-Reply-To: <6a00c8d505042511529bd72c8@mail.gmail.com>
Steve Graegert wrote:
>On 4/25/05, Adam Dyga <adeon@tlen.pl> wrote:
>
>
>>>All SUSv2/3 compliant systems know the system call getpwnam() to
>>>obtain information about a given user by querying the passwd database.
>>>The following (untested) code snippet demonstrates its usage. Hope
>>>this is what you're lookin' for.
>>>
>>>
>>>
>>Note that for security reasons this way much better.
>>
>>
>Relying on the shell environment is
>usually a bad idea since it can be manipulated and tweaked in many
>different ways.
>
That's exactly what I meant ;)
Cheers
AD
PS: Sorry, my previous reply should have gone to the group....
next prev parent reply other threads:[~2005-04-26 11:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-25 16:27 HOME directory HIToC
[not found] ` <426D1DC8.2080900@hq.ntsp.nec.co.jp>
2005-04-25 16:42 ` Ron Michael Khu
2005-04-25 16:46 ` Ron Michael Khu
2005-04-25 16:43 ` Benjamin Machuletz
2005-04-25 16:59 ` Richard Nairn
2005-04-25 17:05 ` Steve Graegert
[not found] ` <426D38D3.5060901@tlen.pl>
[not found] ` <6a00c8d505042511529bd72c8@mail.gmail.com>
2005-04-26 11:26 ` Adam Dyga [this message]
2005-04-25 17:06 ` Glynn Clements
-- strict thread matches above, loose matches on Subject: below --
2005-04-25 16:50 Luciano Moreira - ht
2005-04-28 12:28 HIToC
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=426E255B.3050805@tlen.pl \
--to=adeon@tlen.pl \
--cc=linux-c-programming@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).