LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   chkconfig ?? (https://www.linuxquestions.org/questions/linux-newbie-8/chkconfig-597930/)

vonedaddy 11-07-2007 09:41 PM

chkconfig ??
 
I am trying to setup vnc server for my fedora 7 box. I keep seeing references to chkconfig but I can not make the command run. I did a search for a file with that name with no luck.

The tell me to run this command:

chkconfig vncserver off

But I can not run it I get:

[savone@bighat ~]$ chkconfig 35 vncserver off
-bash: chkconfig: command not found
[savone@bighat ~]$

lanm11 11-07-2007 09:50 PM

You need to be root in order to run chkconfig:

su -
(enter root password)
chkconfig --level 345 vncserver off

Regards,

red80go 11-07-2007 11:44 PM

or setup sudo access
#visudo


chkconfig and other system tools are normally in the /sbin directory in which regular users do not have access to. if you use sudo, you will need to edit ~/.bash_profile to add it to your path

-B


All times are GMT -5. The time now is 06:53 PM.