Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,220
» Latest member: Bobbyhiple
» Forum threads: 4,029
» Forum posts: 16,404

Full Statistics

Online Users
There are currently 167 online users.
» 0 Member(s) | 163 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 564
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 89,707
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 42,897
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,958
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,457
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,595
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 118,860
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 56,627
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 46,537
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 42,225

 
  abort a remote shutdown
Posted by: arbalest - 2006-01-16, 02:17 AM - Forum: How Do I? - Replies (3)

what would I have to put in a batch file so that I could abort a remote shutdown someone on the network has initiated?

Print this item

  how to rotate your favicon.ico and logo in IPB hourly
Posted by: anyweb - 2006-01-15, 09:03 PM - Forum: LAMP - No Replies


for the favicon.ico use this

 

stick it in /etc/cron.hourly/changeico.sh

 



Code:
#!/bin/sh

SOURCEDIR="/usr/local/apache/htdocs/favicon/"
TARGETFILE="/usr/local/apache/htdocs/forums/favicon.ico"

NUM=`ls -1 $SOURCEDIR|wc -l`
cp -f $SOURCEDIR`ls -1 $SOURCEDIR|head -n $[$RANDOM%$NUM+1]|tail -n1` $TARGETFILE




 

for the IPB logo (which youve changed to your own ! - i use 8 different ones)

 

try this

 

stick it in /etc/cron.hourly/changelogo.sh

 



Code:
#!/bin/sh

SOURCEDIR="/usr/local/apache/htdocs/logos/"
TARGETFILE="/usr/local/apache/htdocs/forums/style_images/1/logo4.gif"

NUM=`ls -1 $SOURCEDIR|wc -l`
cp -f $SOURCEDIR`ls -1 $SOURCEDIR|head -n $[$RANDOM%$NUM+1]|tail -n1` $TARGETFILE




 

both files above need to executable

 

do

 



Code:
chmod +x changelogo.sh




 

etc...

 

cheers

anyweb

Print this item

  how do i rotate my apache logs
Posted by: anyweb - 2006-01-15, 11:06 AM - Forum: LAMP - Replies (10)


hi all,

 

i'm looking for some guidance as to the best way to rotate my apache logs, they are now large....

 

i want to retain the data as much as possible,

 

any advice ?

 



Code:
-rw-r--r--   1 root   root           0 Jan 10 21:34 access_bad.log
-rw-r--r--   1 root   root   434839497 Jan 15 12:00 access_log
-rw-r--r--   1 root   root   130760500 Jan 15 11:59 agent_log
-rw-r--r--   1 root   root    11575178 Jan 15 11:59 error_log
-rw-r--r--   1 root   root           6 Jan 13 21:37 httpd.pid
-rw-r--r--   1 root   root   149330258 Jan 15 11:59 referer_log




 

cheers

anyweb

Print this item

  Windows Live Messenger Beta
Posted by: hybrid - 2006-01-13, 06:32 PM - Forum: General Chat - Replies (3)


I got an invite to the Windows Live Messenger Beta (the next version of MSN Messenger).

 

There is a screenshot here (warning: large size)

 

I don't have any invites yet, but when I do I'm sure I can help out any of you who want to get in on the beta :).

 

It is quite cool though, looks quite a lot nicer than MSN Messenger 7.x did. :)

Print this item

  batch file noob
Posted by: arbalest - 2006-01-13, 04:14 AM - Forum: How Do I? - Replies (2)


How would I shut down a networked computer remotely, with a batch file? Im guessing it has something to do with ending the svchost.exe process. I can get to another computer, with a simple:

 

@echo off

start \\"network name"-"computer name" \c$\

 

and im able to view the files.

 

but I dont know how to run a command on that computer, let alone shut it down. So if anyone could give me some helpful tips, it would be greatly appreciated. Other fun things to do with batch files on networks would be awesome as well.

Print this item

  intro/forum/ linux noob
Posted by: arbalest - 2006-01-13, 03:30 AM - Forum: Hello - Replies (2)


hey all. Ive had Fedora Core 4for a while on a partition. Although I havent really explored it that much,probably due to confusion of installing things and just the overall difference from windows. Ive been mostly using my "back up copy" of windows. I want to learn more stuff about linux, I think it would be useful for various applications in the future. So, I joined this forum. So, I guess thats it.

 

later

Print this item

  Monitoring Servers with Mandriva
Posted by: kingttx - 2006-01-11, 04:44 AM - Forum: Mandriva - No Replies


Here we go! This is for you Linux admins. I hope this tool, KSysGuard, is helpful to you, and I hope this tutorial will assist in getting you started. Combine this with your logs and other tools, and you will have a tremendous tool set for maintaining a Linux server.

 

SystemMonitoring.pdf

 

If you find any corrections needed, please let me know here.

 

Enjoy!

Tom King

Print this item

  Simple Backups
Posted by: kingttx - 2006-01-10, 10:07 PM - Forum: Mandriva - No Replies


I am generating a new tutorial geared a bit more towards Linux admins, and I should have that out tonight or tomorrow.

 

In the meantime, here is a short tutorial on making a simple, quick backup using Ark. This is helpful if you are doing a major update or a major change and need to be sure you have files available to restore in case Murphy's Law drops its full weight on your box!

 

SimpleBackups.pdf

 

Enjoy!

Tom King

Print this item

  VNC Security
Posted by: xDamox - 2006-01-10, 09:20 PM - Forum: Remote Access - Replies (4)


Hi all,

 

I have a question, I will be setting VNC up for someone to use on a Linux server, but the admin

that he currently has said not to use VNC as it is not secure?

 

So I want to ask if there are any alternitaves to VNC, or how could you improve the security

I was thinking about using iptables to only allow an IP to connect to VNC but I am

open to opinions ;)

 

I am looking into having ssh encrypt the traffic. but any other methods?

Print this item

  spot the missing solder
Posted by: anyweb - 2006-01-10, 03:50 PM - Forum: General - Replies (4)


dam...

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-1-1136908250.jpg" data-fileid="440">[img]<fileStore.core_Attachment>/post-1-1136908250.jpg[/img]</a>



Attached Files
.jpg   january_2006_336.jpg (Size: 1.16 MB / Downloads: 0)
Print this item