Dumb newbie questions: 1. How do I add a directory to my path for executing commands, i.e. inetd start, which is in /usr/sbin ? 2. Where do I add this comand so it runs upon startup? Harry G
Hi There is no dumb questions, maybe more dumb answers :.) If You need to alter the path for an individual user, change the /home/<username>/.bashrc For root it is /root/.bashrc There You find the PATH-statement. To start a program during boot-up, add commands to /etc/rc.d/boot.local. Remember to put full path there, because the path is not neccessarily set in that stage. To start inetd, do a "rcinetd start" as user root. If You don't want it to start every time, then You set the variable "start_inetd" to "yes" with zast->system admin->change config file. (or edit directly /etc/rc.config.d/rc.config, and run SuSEconfig after it). In Linux there is many ways of doing things... You will find a way that You like. Jaska. Viestissä Perjantai 01 Helmikuu 2002 01:53, Harry G kirjoitti:
Dumb newbie questions: 1. How do I add a directory to my path for executing commands, i.e. inetd start, which is in /usr/sbin ?
2. Where do I add this comand so it runs upon startup?
Harry G
participants (2)
-
Harry G
-
jaakko tamminen