############################################################################## # Searchable Keywords: man wrapper tcp single boot booting forwarding modules login network man cmd: a little slower than Solaris, Space bar still rolls down one page, but to roll up you must use the arrows. To quit use the "q" key vi editor: very simular most of the keys for insert text and changing modes are the same insmod cmd : installs loadable modules. cd to the directory the module is in type insmod (and the noame of the module file) then enter !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! tcpd tcp wrapper configuation EXAMPLE 1 This example applies when tcpd expects that the original network daemons will be moved to an "other" place. In order to monitor access to the finger service, move the origi- nal finger daemon to the "other" place and install tcpd in the place of the original finger daemon. No changes are required to configuration files. # mkdir /other/place # mv /usr/etc/in.fingerd /other/place # cp tcpd /usr/etc/in.fingerd The example assumes that the network daemons live in /usr/etc. On some systems, network daemons live in /usr/sbin or in /usr/libexec, or have no `in.' prefix to their name. EXAMPLE 2 This example applies when tcpd expects that the network daemons are left in their original place. In order to monitor access to the finger service, perform the fol- lowing edits on the inetd configuration file (usually /etc/inetd.conf or /etc/inet/inetd.conf): finger stream tcp nowait nobody /usr/etc/in.fingerd in.fingerd becomes: finger stream tcp nowait nobody /some/where/tcpd in.fingerd The example assumes that the network daemons live in /usr/etc. On some systems, network daemons live in /usr/sbin or in /usr/libexec, the daemons have no `in.' prefix to their name, or there is no userid field in the inetd configuration file. Similar changes will be needed for the other services that are to be covered by tcpd. Send a `kill -HUP' to the inetd(8) process to make the changes effective. AIX users may also have to execute the `inetimp' command. EXAMPLE 3 In the case of daemons that do not live in a common directory ("secret" or otherwise), edit the inetd configuration file so that it specifies an absolute path name for the process name field. For example: ntalk dgram udp wait root /some/where/tcpd /usr/local/lib/ntalkd Only the last component (ntalkd) of the pathname will be used for access control and logging. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Date: Thu, 4 Jun 1998 09:36:41 +0100 From: "von Essen, Matthias" Subject: Re: Rebooting an IPC To: "'sparc-list@redhat.com'" at the boot-prompt type setenv sunmon-compat? false This cured the problem at least on my SS1+. -mathias > I have it booting just fine from power on using SILO. The weird thing > is that if I issue the command "shutdown -r now", it goes through the > process of shutting down, then instead of rebooting, it just sits > there > continuously repeating "Type b (boot), c (continue), or n (new command > mode)". > > Pressing L1-A does absolutely nothing. I have to power the machine > off > to get it to boot again. Just today, I shut it down to run level 6 > then > pressed Enter at the prompt and it rebooted just fine. > > -- To unsubscribe: mail -s unsubscribe sparc-list-request@redhat.com < /dev/null >----------------End Forwarded Message----------------< ----------------------------------------- Mark Fromm - Unix/E-Mail/Internet Systems Engineer Information Systems - Physio Control Corp. P.O. Box 97006 - 11811 Willows Rd NE Redmond, Wa. 98073-9706 Phone 425.867.4450 Internet mail - mfromm@physio-control.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ********booting from a floppy ****** at the boot prompt type >OK boot fd(0,0,0) At least that was what I saw Mark F do ? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ******* booting from (sparc)linux ********* change the boot parm to > setenv boot-file linux >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Problem: booting into single user At the lilo,silo or grub boot prompt. Simply type "single" before the default time wait boots you into the default OS or kernel. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ****** Turning off modules that are installed and that start up at boot up ************** place a file in /etc called conf.modules inside insert "alias net-pf-3 off" the net-pf-3 is the kernel file of the module you want to turn off. On Rachel I have, appletalk,IPX(novell) and X.25 turned off in this manner. The /etc/conf.modules file looks like this. alias net-pf-3 off alias net-pf-4 off alias net-pf-5 off <--this ends up being Appletalk To find these kernel files and match them to a module is a mystery....now Ah ha ! iif you do a modprobe -c you should see a list that will lead to the apropreiate kernel module <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SHUTDOWN PROCESS AND REBOOTING FROM CRON The reboot process as well as shutdown creates a file in /etc called "nologin". The file prevents users from loging in during shutdown. I found out(the hard way) that if the machine inproperly shuts down it will leave this nologin file in /etc thus no one but root can login. Solution: as root rm /etc/nologin ######################################################################### FORWARD_IPv4(IP forwarding) can be turned off in the /etc/sysconfig/network file Change this line in the file and this will turn IP forwarding off. Turning this on will forward IP numbers to another network like in the case of a home network connected to the internet through a ppp connection. FORWARD_IPV4=false ############################################################################ ##################################################################### You can alter your linux machine to allow you to remotely login as root by; add the ttyp devices to /etc/securetty....you really want to login as a user and su to root. Direct login access to root from remote locations is a bad idea. Logging in remotely is generally thought to be a bad idea. The default for Linux is not to allow this. It's thought a better idea to log in as a user name then su to root ##################################################################### CHANGING IP NUMBERS ON A LINUX BOX AND THE FILES TO LOOK AT /etc/hosts /etc/sysconfig/network /etc/sysconfig/network_scripts/ifcfg_eth0 This file includes IP #, network, netmasks, broadcast ########################################################################