Re: getpwnam with md5 encrypted passwds

2003-11-27 Thread Terry Lambert
Clifton Royston wrote: > If you will need to do authentication after your program drops > privileges, your best course is probably to go through PAM, to install > a separate daemon which implements a PAM-supported protocol and which > runs with privileges, and then to enable that protocol as a PA

Re: getpwnam with md5 encrypted passwds

2003-11-27 Thread Terry Lambert
Peter Pentchev wrote: > On Wed, Nov 26, 2003 at 02:21:04PM +0100, Kai Mosebach wrote: > > Looks interesting ... is this method also usable, when i dropped my privs ? > > I think Terry meant pam_authenticate() (not pan), but to answer your > question: no, when you drop your privileges, you do not h

Re: NFS Flags Oddity

2003-11-27 Thread Terry Lambert
Kris Kirby wrote: > FreeBSD (4.9-RC) doesn't appear to "export" schg flags over NFS. You've > got to shell in locally to the machine to move the schg flags; ls -lao > doesn't report them over NFS, but does list them locally. Non-local flags are not defined, so they are not permitted to be exporte

Re: [Fwd: TWE driver IOCTL's]

2003-11-27 Thread Gary Jennejohn
Eduard Martinescu writes: > Tried this on current, but no responses...maybe some one here has some ideas? > > Hello, > > I looking to extend the smartmontools support > (/usr/ports/sysutils/smartmontools) to include support for drives behind > a TWE device. > > I looked at the source for the TW

ahd driver & Adaptec 39320D Ultra320 SCSI adapter

2003-11-27 Thread Sander Smeenk
Hi, I mailed to fbsd-questions about a weird problem i was experiencing with RAID10 on vinum, with 4 SCSI disks connected to an Adaptec 39320D U320 SCSI adapter, and stated that it had boot problems, but they seemed to occur only at boot, not during usage. I was wrong. The card is unstable in Fre

Re: freebsd smp -> linux up

2003-11-27 Thread Robert Watson
On Wed, 26 Nov 2003, Anthony Schneider wrote: > sadly, all ktrace shows is ktrace launching vmware (from 'ktrace > vmware', shows sh reading and executing, and then ends with the vmware > fork). > > is there a special way to ktrace linux binaries that i'm not aware of? ktrace should work fine,

Re: getpwnam with md5 encrypted passwds

2003-11-27 Thread Clifton Royston
On Wed, Nov 26, 2003 at 11:10:01PM -0800, Terry Lambert wrote: > Clifton Royston wrote: > > If you will need to do authentication after your program drops > > privileges, your best course is probably to go through PAM, to install > > a separate daemon which implements a PAM-supported protocol and

question about _exit() function

2003-11-27 Thread rmkml
Hi, is the _exit() function safe for a thread ? my program use vfork() and then execve in a thread context. The documentation mentions that the process has to call _exit() in case of failure. But this _exit() is really safe for the parent thread ? Thanks in advance for the reply.

Re: question about _exit() function

2003-11-27 Thread rmkml
and I use freebsd v4.8. On Thu, 27 Nov 2003, rmkml wrote: > Date: Thu, 27 Nov 2003 20:20:04 +0100 (CET) > From: rmkml <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: question about _exit() function > > Hi, > > is the _exit() function safe for a thread ? > my program use vfork() and then e