Solved

sudo cfagent -qkI

Posted on 2011-02-19
5
459 Views
Last Modified: 2012-05-11
can somebody please give me explaination of this command ? whta does it do ?
thanks
0
Comment
Question by:aashee
  • 2
  • 2
5 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 34935283
sudo - The sudo command is a program that allows users to run programs with the security privileges of another user normally the superuser or root.

cfagent runs on every host and parses one file (or file-set), the configuration of the host is checked against this file and, if desired, any deviations are fixed. cfagent reads a configuration file called cfengine.conf in a directory pointed to by the environment variable CFINPUTS. cfagent performs host integrity and security checks as well as installing and repairing system configuration.

-q (--no-splay)
    Switch off host splaying (sleeping).

-k (--no-copy)
    Do not copy/image any files.

-l (--traverse-links)
    Normally cfagent does not follow symbolic links when recursively parsing directories. This option will force it to do so.

0
 

Author Comment

by:aashee
ID: 34935290
hanccoka,great explaination .
can you please explain about cfagent and cfengine a bit more in detail please.
thanks a lot
0
 
LVL 6

Expert Comment

by:loopfinity
ID: 34935296
hi linux commands man pages really help you when you have difficulties.

just type ---> man cfagent

it will list detailed information about command with its options.
here the options expression
-q (--no-splay)
    Switch off host splaying (sleeping).

-k (--no-copy)
    Do not copy/image any files.
-l (--traverse-links)
    Normally cfagent does not follow symbolic links when recursively parsing directories. This option will force it to do so.
0
 
LVL 6

Assisted Solution

by:loopfinity
loopfinity earned 250 total points
ID: 34935300
the explanations are takesn from http://linux.die.net/man/8/cfagent
0
 
LVL 119
ID: 34935319
cfengine is a language based system specifically designed for testing and configuring unix-like systems attached to a TCP/IP network. You can think of cfengine as a very high level language -- much higher level than Perl or shell. A single statement can result in many hundreds of links being created, or the permissions of many hundreds of files being set. The idea of cfenginge is to create a single file or set of configuration files which will describe the setup of every host on your network.

cfagent runs on every host and parses one file (or file-set), the configuration of the host is checked against this file and, if desired, any deviations are fixed. cfagent reads a configuration file called cfengine.conf in a directory pointed to by the environment variable CFINPUTS. cfagent performs host integrity and security checks as well as installing and repairing system configuration.

http://linux.die.net/man/8/cfagent

0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best way to virtualise a remote Linux server 2 69
High Bandwidth Usage 6 58
how to install java on RHEL image on EC2 4 30
number in printf 13 27
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question