How can I add /usr/src/secure to a system ?

2003-09-16 Thread Josh Brooks

Ok, my /usr/src is totally empty - nothing in there at all.

I would like to follow these instructions from the latest openSSH
FreeBSD-SA:

# cd /usr/src
# patch  /path/to/sshd.patch
# cd /usr/src/secure/lib/libssh
# make depend  make all install
# cd /usr/src/secure/usr.sbin/sshd
# make depend  make all install
# cd /usr/src/secure/usr.bin/ssh
# make depend  make all install

So, presumably I need to add /usr/src/secure to the system.  What is the
easiest way to do this ?  Can I use cvsup to just add that directory to
/usr/src ?

Also, after doing this, I am told to:

Be sure to restart `sshd' after updating.

# kill `cat /var/run/sshd.pid`
# (. /etc/rc.conf  ${sshd_program:-/usr/bin/sshd} ${sshd_flags})

Can anyone confirm that that will not lock me out ?  Will my connection
die and I have to reconnect ?

thanks.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I add /usr/src/secure to a system ?

2003-09-16 Thread Jez Hancock
On Tue, Sep 16, 2003 at 12:49:09PM -0700, Josh Brooks wrote:
 
 Ok, my /usr/src is totally empty - nothing in there at all.
You can install the source code from the FreeBSD installation cd (or
install it over FTP) - just use /stand/sysinstall and choose
'Configure', then 'Distributions' - scroll down to 'src' and select the
sources you want to install (install All to be sure).

-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]