Re: DNS Names resolution in ipfw+nat ?

2005-04-07 Thread Eric McCoy
faisal gillani wrote: Well i read couple of how,to artical on the internet regarding setting up a ipfw firewall with nat to allow your private network client to setup internet access , but their isnt one thing clear to me , which was not present in any of the articals , which is how there

Re: multiprocessors

2005-04-07 Thread Eric McCoy
Bill wrote: On Wed, 2005-04-06 at 21:16, FreeBSD Deamon wrote: Bill wrote: Is there a comand to use so as to see if freebsd is using both processors? sysctl hw.ncpu, I think. You can also look at /var/run/dmesg.boot and look for: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP):

Re: suspending login

2005-04-07 Thread Eric McCoy
Ean Kingston wrote: If you change the password entry then, when you want to enable the user again, the user has to enter a new password. This way, the user keeps his/her old password. Note, the question asked for suspend, not remove. I read suspend as implying that the account may be used again.

Re: sFTP nologin

2005-03-25 Thread Eric McCoy
Grant Peel wrote: Is there a quick - secure way to allow the sshd sFTP subsystem to allows sftp connections without allowing shell accounts? Create the account and set its shell to /sbin/nologin. You can safely add that to /etc/shells: it does its name and just prints a terse message before

Re: quick timestamp question (ctime/mtime)

2005-03-25 Thread Eric McCoy
Emanuel Strobl wrote: is it possible that mtime of a file can be changed without also changing ctime? No. See stat(2), it shows what operations do what. ___ freebsd-questions@freebsd.org mailing list

Re: ipfw and nmap

2005-03-15 Thread Eric McCoy
daniel quinn wrote: i've been experimenting with ipfw since moving some of my machines from linux to freebsd and i've run across an oddity wrt nmap and freebsd firewalls. it doesn't seem to work and the activity isn't logged either. the firewall is working though. ssh goes through, while

Re: var/tmp

2005-03-13 Thread Eric McCoy
dick hoogendijk wrote: I'd like some info on: man 7 hier: /var/tmp tempory files that are kept between system reboots Can I safely delete this directory. Probabl not 'cause it's kept in between, but how can I weed some files then in a safe manner? What can and what cannot be deleted and why? some

Re: chmod equivalent to find commands

2005-03-12 Thread Eric McCoy
Fafa Diliha Romanova wrote: hello. i know there's an equivalent to these two find commands that can be summed up in one chmod command: find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; it fixes my permissions ... i haven't tested this yet but i think it's wrong: chmod -R

Re: Disk Error

2005-03-07 Thread Eric McCoy
Doug Hardie wrote: I doubt that its dying. There is only one bad sector. The drive is in constant use. Its ran at 100% for almost 12 hours while copying the files and no errors were detected. Its always the same sector with the error. Just as a note, hard drives now come with a number of

Re: apache exits on signal 4

2005-03-07 Thread Eric McCoy
dave wrote: Hello, Fbsd 5.3-RELEASE, apache 2.53, php4 installed. Everything was working than i got a report of site's being down. I investigated and learned that apache was not starting. I tried a restart, which did not produce an error, however checking for an http process ID didn't show

Re: Swapping hard drives

2005-03-06 Thread Eric McCoy
Ralph wrote: Hello folks I'm looking to do a quick swap on a hard disk I currently have in my FreeBSD file-server. It's an old 30Gb disk, and I've bought a nice, new big one to replace it. The problem is, I'm not sure what the best way to do this is. I have Samba shares on there, and other

Potential dangers with big arrays

2005-03-05 Thread Eric McCoy
I'm planning to build a fairly large - somewhere from 1TB to 1.75TB in size - array behind a hardware RAID controller and put FreeBSD on it. But after being a good boy and Googling for information before laying out a couple grand, I discovered that FreeBSD might not have such great support for