Re: Watch your devfs permissions in driver make_dev calls

2001-02-04 Thread Peter Wemm
Greg Lehey wrote: > On Friday, 2 February 2001 at 20:10:10 -0800, Peter Wemm wrote: > > Robert Watson wrote: > > > >> crw-r--r-- 1 root wheel 78, 0 Dec 31 1969 pci > > > > This one may appear harmless, but it is not. It is trivially easy to creat e > > an alignment fault (fatal

Re: An example script for creating a bootable floppy

2001-02-04 Thread Alexander Langer
Thus spake Dan Langille ([EMAIL PROTECTED]): > I get a root mount failed, then a panic, but at least it's a kernel. If I make > any more progress, I'll le you know. Did you strip it? I have way smaller kernels here, which have much more options. Btw: Just gzip the file and call it /kernel.gz

exit() does not do dlclose()?

2001-02-04 Thread Brian McGovern
I'm playing with an application that uses dlopen() to load some libraries. I use the _init function to set the libraries up. I've also set up the _fini functions to shut things down. I see, in the man page, that dlclose() will unload the libraries and call _fini. My question is whether or not ex

Re: exit() does not do dlclose()?

2001-02-04 Thread Matt Dillon
:I'm playing with an application that uses dlopen() to load some libraries. I :use the _init function to set the libraries up. I've also set up the _fini :functions to shut things down. : :I see, in the man page, that dlclose() will unload the libraries and call :_fini. : :My question is whether o

Re: exit() does not do dlclose()?

2001-02-04 Thread John Polstra
In article <[EMAIL PROTECTED]>, Brian McGovern <[EMAIL PROTECTED]> wrote: > I'm playing with an application that uses dlopen() to load some libraries. I > use the _init function to set the libraries up. I've also set up the _fini > functions to shut things down. > > I see, in the man page, that

Re: exit() does not do dlclose()?

2001-02-04 Thread Brian McGovern
I don't know how easy it would be to strip out the case I'm seeing. The program I'm working with is bascially a control application for vgetty's voice functions. It may be a case of stack smashing, as the call tends to be something like: main() -> function in loaded library -> exit(). However,

request for review: send-pr article

2001-02-04 Thread Michael Lucas
Oh almight source hackers, I'm writing an article on how to use send-pr, based on gleanings from this list and others over the years. Since wrong advice there could easily generate a lot of lousy PRs, I was hoping one or two of you folks who actually *read* PRs might be willing to review it for

No-passwd account and reboot records

2001-02-04 Thread Zhiui Zhang
Is it possible to create a no-password account? Is it possible to record in a file the times of each reboots? If so, how to do this? Thanks. -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

accf_timeout

2001-02-04 Thread bsddiy
Hi, could any one tell me if accf_http handle recieve timeout? I know Apache has I/O timeout on socket, default is 5 minutes. Regards, David Xu To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: No-passwd account and reboot records

2001-02-04 Thread Dan Feldman
Of course. If you want no password, just set it to blank. This is a very poor idea for anything not behind a heavy firewall, by the way. If you use adduser, you'll be warned. Reboot times are stored in wtmp, which can be viewed along with login times with the last command. Alternatively, it sho

Re: No-passwd account and reboot records

2001-02-04 Thread Robert Watson
If you're using sshd for user login, you'll need to change: PermitEmptyPasswords no to PermitEmptyPasswords yes In /etc/ssh/sshd_config, and restart sshd. My suspicion is that this is an inconsistent choice across various login methods, and that the default should be "yes", even thought

passwd, npasswd, PAM and password ageing

2001-02-04 Thread Niekie Myburgh (QData)
Title: passwd, npasswd, PAM and password ageing Can anyone tell me how to get password ageing working on FreeBSD 4.2.  I have to stop users from re-using their passwords.  On Linux, pam_cracklib and pam_passwdqc does the trick, but on BSD, they are just being ignored.  I tried npassword, but

known pthread bug?

2001-02-04 Thread Paul D. Schmidt
Are there currently any known bugs with pthread_mutex_init and pthread_cond_init returning 0, but pthread_cond_wait returning EINVAL nonetheless? Thanks, -Paul -- Paul D. Schmidt | <[EMAIL PROTECTED]> Coder / Sys Admin |<[EMAIL PROTECTED]> Unbound Communications |

RE: passwd, npasswd, PAM and password ageing

2001-02-04 Thread Niekie Myburgh (QData)
Title: RE: passwd, npasswd, PAM and password ageing I went through the login.conf man page.  Everything there works quite nice (Force change, force upper/lower case etc.), except that I cannot figure out how to stop the user from re-using last month's password.  ie. How can I make BSD remeber