Re: Is there a list of chkconfig --list descriptions

2002-12-12 Thread Randy Franklin
Just type... bash# chkconfig --list And remember than "man" is your friend. Deciding on what you wish to run or not depends on what you plan to do. RH8 is pretty nice about turning most superfluous services off as default, but you may still be able to trim it down. It really just depends an

Re: superuser permission

2002-12-11 Thread Randy Franklin
This is one way to start getting a list, for whatever use it may have: bash# find / -type f -u root -perm 750 -print --Randy On Wednesday, December 11, 2002, at 10:09 PM, Warren Sypteras wrote: Well one way to find out is by using the find command to print out files that have root execute

Re: File Sizes

2002-12-11 Thread Randy Franklin
If you have enough RAM and patience, this will work: bash# find / -type f -size +1024k -print That will list all files larger than 1MB. To get a listing of all, sorted by size, do this (again, with lots of RAM and patience): bash# find / -type f -print | xargs -i ls -l {} | awk '{print $5, $9}

Re: how to delete a user

2002-12-11 Thread Randy Franklin
bash# userdel username bash# rm -rf /home/username Do the second at your discretion. --Randy On Wednesday, December 11, 2002, at 03:25 PM, Jianping Zhu wrote: how to delete a user? Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA

Re: superuser permission

2002-12-11 Thread Randy Franklin
Look at the differences in the $PATH env variables. (as non-root user) bash# echo $PATH (as root user) bash# echo $PATH Root can execute any command, but use it sparingly. --Randy On Wednesday, December 11, 2002, at 02:59 PM, Jianping Zhu wrote: Can someone gives some example of superuser

Re: I want to add a second network card...

2002-12-11 Thread Randy Franklin
If the new card is the same as the current card, it's easy. You can also use Kudzu, but here's the brute-force approach: bash# cd /etc/sysconfig/network-scripts/ bash# cp ifcfg-eth0 ifcfg-eth1 (edit ifcfg-eth1 appropriately, making sure to change DEVICE=) If there is a line like the following

Re: changing IP's

2002-12-11 Thread Randy Franklin
Only /etc/sysconfig/network and/or /etc/sysconfig/network-scripts/ifcfg-eth* if you are on Ethernet. --Randy On Wednesday, December 11, 2002, at 10:34 AM, Steve Buehler wrote: I have a RedHat 7.3 server set up just for CVS. I need to move it to another office and will have to change the IP

Re: RH7.3 Apache and PHP

2002-12-11 Thread Randy Franklin
[mailto:[EMAIL PROTECTED]] On Behalf Of Randy Franklin Sent: 11 December 2002 14:56 To: [EMAIL PROTECTED] Subject: Re: RH7.3 Apache and PHP What does the first line of your PHP script files look like? --Randy On Wednesday, December 11, 2002, at 09:45 AM, Simon Tompkins wrote: I am having pro

Re: RH7.3 Apache and PHP

2002-12-11 Thread Randy Franklin
What does the first line of your PHP script files look like? --Randy On Wednesday, December 11, 2002, at 09:45 AM, Simon Tompkins wrote: I am having problems with RH73 running Apache and PHP.  After upgrading from RH7.1, I installed Apache and PHP rpm's from the RH7.3 CD's and configured ap

Re: backup script

2002-12-10 Thread Randy Franklin
Look into cron. Add a line like the following to /etc/crontab: 00 2 * * 6 root /path/to/my/script.sh You will need to write a script that executes the backup operation. As soon as you modify the file, the setting changes are noticed by crond. Make sure your script is executable (chmod 755 sc