Re: loging in
FBSD is not a "service", it is an operating system. You can use it in place of Windows, Mac, and other OS's. It is free.http://www.freebsd.org/ At 01:04 AM 11/30/2002, [EMAIL PROTECTED] wrote: I am interested in finding out how to login and out of freeBSD. Please forward some details because I am a new user to the service. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: shopping cart for freebsd
At 08:45 AM 10/30/2002, public relations wrote: hello, does anyone know of a good shopping cart system that will work with freebsd? thanks terry allen To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message http://www.oscommerce.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
random reboots
We are experiencing random reboots on 4.7. Have seen other postings in here regarding this issue so it does not appear to be hardware related but have not seen a definitive answer to what is going on. No core dumps, etc. Please respond if you are having same problem. We are doing 4.7 on a "test" server running AMD 400 CPU and would like to goto 4.7 on production servers but with random reboots this is not feasible. As I said this has come up on "questions" before but still has not been fully addressed. Running newest Apache, MySQL, PHP, Perl, just can't up to 4.7 yet (was rebooting before any of the previous were upped,Apache, etc.) 4.6 was totally stable . Rebooting probs started after upping to 4.7 FBSD and are totally random. Thanks for any input. Richard H To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: X problems, please advise helpless newbie
At 02:09 PM 10/17/2002, RichardH wrote: Are you root when doing the start commands? If you are not root you need to install the wrapper so other users can use X. /usr/ports/x11/wrapper Richard H AHHH, sorry for top posting. RH To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: X problems, please advise helpless newbie
Are you root when doing the start commands? If you are not root you need to install the wrapper so other users can use X. /usr/ports/x11/wrapper Richard H At 12:55 PM 10/17/2002, Thanos Tsouanas wrote: > > wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and > then > > start windowmaker? > > > > i really cant make xdm to work... > > any suggestions? > > > > There's a thorough HowTo on setting up a display manager (e.g. xdm, kdm, > ...) here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html > > I can't think of any reason why it won't work if you follow the > instructions. Note that X *must* load properly for xdm to work properly. > If you need to test and setup X first, use an xinitrc file, e.g.: > > $ echo "exec wmaker" > /home/user/.xinitrc > > and then try 'startx'. The Handbook page above should get you going with > xdm. > i have followed the instructions on the HB and they didnt work, thats why i came up with the insecure method... startx gives similar errors to the ones mentioned in the original msg. any ideas why? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: symbolic link to webstats
At 02:44 PM 10/3/2002, Grant Cooper wrote: >Hi, I would like to create a symbolic link to my /var/logs/. >Is there a right way to do. I was just going to use the symbolic link >command but I've never done this before. I want my users to be able to >download there stats whenever they like. > >If anyone has a better solution I would like to here about it. > >Thanks, Grant Cooper. > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-questions" in the body of the message Here are snips from postings made after I posted a similar question, we wound up writing ours custom to run AWStats for all users and to update them regularly but this is what got it started, one is from Rob Ellis, not sure who posted the other but it is probably all in the archives: > On Wed, May 01, 2002 at 07:29:29PM -0600, RichardH wrote: > > By parsing out the files with a script, it reduces overall server > > load AND permits the use of rewrite rules, that allow you to use a > > virtmap.txt type of setup for hosting entries (in which case the > > transferlog entry does not work at all). > > Assuming the domain name is the first thing on each log line, > you could do something like > > #! /usr/bin/perl -w > use FileCache; # opens/closes file descriptors as required > no strict "refs"; # FileCache generates "strict refs" warnings > $log = "/usr/local/apache/logs/access_log"; > $outdir = "/usr/local/var/weblogs"; > open(LOG, $log) || die $!; > while () { > if (/^([\w\.-]+)\s+/) { > $domain = $1; > $outfile = "$outdir/$domain/access_log"; > die $! unless (cacheout $outfile); > print $outfile $_; > } > # do something here with junk lines > } > close(LOG); > 1; Here are some snips from a small script that I put together to parse the apache log (/var/log/httpd-access.log) to find suspect log entries containing lame attempts to exploit IIS vulnerabilities. If found, it will try to send an email to "abuse" at whatever domain the user was at. It doesn't write anything to an output file, but it does selectively choose entries from the current date only. You could possibly modify this to append each days activities to each users log file. Again, the below doesn't necessarily speak to your particular problem, but maybe some tidbits of this could be a start, along with the post from Rob Ellis. #!/usr/bin/perl -w use strict; use Mail::Sendmail; my ($line, $host, $rcpt, $dstamp, $body); # some scalars my @date; # an array my (%mail, %offenders); # some hashes @date = split(" ", `date`); # get current date into an array$dstamp = "$date[2]/$date[1]/$date[5]"; # rearrange to match date in apache log file open (FILE, "/var/log/httpd-access.log"); # open log file for reading while ($line = ) { # find log entries from today that also contain mischevious keywords if ( (grep(/.*\[$dstamp:/, $line)) && (grep(/scripts|winnt|cmd\.exe|root\.exe|system32/, $line)) ) { $line =~ /^(\S+).*\[(.+)\].*GET\s(\S+)/; # parse interesting line $1=host $2=date/time $3=GET command push @{$offenders{$1}},"$2 $3\n"; # put values into a hash for later processing } } foreach $host (keys(%offenders)) { if ($host !~ /\.\d+$/) { # only act if $host is an actual host name to which we can construct an email $host =~ /^\S+\.(.*)$/; # get domain portion of $host $rcpt = $1; # assign $rcpt to value of previous regex $body = ( # create the email body "Email Body" ); %mail = ( # create some email headers 'Date' => Mail::Sendmail::time_to_date(), 'To' => "abuse\@$rcpt", 'From' => '[EMAIL PROTECTED]', 'Subject' => 'Notification of malicious user or system', 'Body' => "$body" ); sendmail(%mail); # send the mail } } close (FILE); # close the file log file To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: When is FreeBSD going to work properly with KVM switches?
It will all work properly if you quit using belkin KVM's, they are too expensive. Try this : http://www.dlink.com/products/Business/kvm/ we run dlink 4 port KVM with no probs at all, buy belkin and you apparently pay for the name. We use for web, mail and 2 DNS servers, no switch probs or anything. Got it at www.pricewatch.com for 68$, cables were 12$ ea/ for 4 sets so total was 120 or so. Apparently belkin sucks. We use 1 kbd, 1 mse and 1 mon. so "name" is not all, go dlink and you'll be happy, least 4 port. At 09:14 PM 7/15/2002, Steve Wingate wrote: >On Mon, 2002-07-15 at 13:11, Roberto Armenteros wrote: > > I have three pcs "FreeBSD 4.5, linux and windows" and > > I use a KVM switch to control them. FreeBSD is the > > only one that needs a mouse and keyboard all for > > itself. "When I tried to use the kvm switch fully with > > FreeBSD, I had to end up restarting the system 'cause > > my mouse would just go crazy." Has anybody had a > > better luck with this kind of setup? If yes, please > > give a little hand "as well as the brand and model of > > the kvm switch used - I use belkin cube F1D094. I dont > > know if upgrading to the 4.6 branch is going to solve > > this problem. > >It will work properly when you get a better mouse. I have an Omniview SE >and it works perfectly once I switched from an Intellimouse to a >Logitech. > > > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message