Sponsored Content
Top Forums UNIX for Dummies Questions & Answers mandrake 8.0 experts...how come it won't accept changes to security settings?? Post 7937 by Andy Hibbins on Wednesday 3rd of October 2001 05:48:57 PM
Old 10-03-2001
Hi,


Looks like there some kind of problem with your Mandrake Control Panel software.
Here are some steps to secure your Linux box:

1 Turn off unwanted services, only use telnet, finger,rsh,portmap,nfs.nis if you have to.

2 add "ALL: ALL" to /etc/hosts.deny and then add the list of tcp wrapper compiled services that you want to allow access to in /etc/hosts.allow.

3 Services that only need to listen for requests on your lan should be configured to bind to the lan nic's ip address, i.e. pop3/imap4, ssh, ftp etc, most services can be configured either via the relevant xinetd config file or the own config file.

4 If you need services to listen on your machine's internet interface turn off the service's banner or falsify it, to make it harder for a hacker.
Also ensure these services are the latest versions, to prevent against any security vulnerablilities.

5 You could also recompile your kernel with the ip personality module, this allows your machine to look like it's running another OS when scanned, i.e. Amiga, Windows 2000, etc, this should confuse any potential hackers.

6 Setup a firewall with a DENY all default policy, only allow required services in and out of the firewall.

7 Don't use the same passwords for internet sites and your system.

If you have any other questions don't hesitate to ask, myself and the other members of unix.com will do our best to help you.


Andy H Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

2. UNIX for Dummies Questions & Answers

Why won't my script run?

On the following script that I get an error when I try to execute as root: #./mv_log.sh bash: /root/util/mv_log.sh: Permission denied #!/usr/bin datetag=`date --date='1 day ago' +"%b%d%Y"` logname=`find /opt/bea/wlserver6.1/config/*/logs/ -iname 'access.log0*' -mtime -1 -print` mv... (4 Replies)
Discussion started by: darthur
4 Replies

3. UNIX for Dummies Questions & Answers

Here's the fix for the SiS 7012/7018 sound problem in Mandrake 8.2

Edit your /etc/modules.conf file to either remove or comment out the two lines : alias sound-slot-0 snd-card-intel8x0 above snd-card-intel8x0 snd-pcm-oss ...and replace them with the following line: alias sound i810_audio ....viola! After saving and rebooting, now I gots da sound!... (0 Replies)
Discussion started by: DownSouthMoe
0 Replies

4. UNIX for Dummies Questions & Answers

Mandrake Linux Settings

I use Unix at work, and thought that I should finally install it on my computer, just as a play around. Plus I am into programming C and various other languages. I have never used Mandrake linux, and to be honest it was just a freebie that I found that I thought I would give a quick try. I have... (3 Replies)
Discussion started by: SiE
3 Replies

5. UNIX for Dummies Questions & Answers

Backup Exec agent won't start... PLEASE HELP!

Backup Exec Agent won't start.... Question: Has anyone had any previous experience working with Backup exec for Unix? I'm running SCO Openserver 5.0.5 and Backup Exec agent Version 5.01 Revision 5.032 Basically, these are the commands I'm issueing and here is the output. # cd etc # cd... (1 Reply)
Discussion started by: PatMcCoy
1 Replies

6. UNIX Desktop Questions & Answers

SuSE 8.0...I can't get SaX2 to start on Hercules 128 and YaST2 won't set up X either.

I'm trying to set up a school Linux computer and use Samba to link it to Windows NT. Pentium-133 Hercules 8 meg Stingray 128/3D I'm not too familiar with SuSE's config tools (more used to Mandrake) and so am having some trouble configuring X. SaX2 just won't start, even when I use "sax2... (1 Reply)
Discussion started by: HumanBeanDip
1 Replies

7. Windows & DOS: Issues & Discussions

Stanford security experts unveil defenses against ‘phishing’ attacks

It's an online con that is growing fast and stealing tens of millions of dollars. An e-mail seemingly from a financial institution instructs you to log on to a legitimate-looking Web site. Such “phishing” attacks exploit a universal weakness in online security: passwords. To read the rest of... (0 Replies)
Discussion started by: ZOverLord
0 Replies

8. UNIX for Advanced & Expert Users

rcp won't accept a destination with spaces...

Hello I'm on Tru64 unix 5.1.a I'm trying to execute rcp command like this rcp testfile "user@host.com:/pub/Sales/Sales Reports" and I'm getting an error message rcp: ambiguous target copy works fine if I just put underscore in the destination directory, like Sales_Reports... ... (3 Replies)
Discussion started by: Trusevich
3 Replies

9. Solaris

Solaris 10 install won't accept IP address

Hi I am trying to debug an issue with an automated install I have set-up. So to start I just ran a simple ok; boot cdrom - install but when it came to the IP address field it would only take the following format 123.123.123.12 and would not let me enter the last digit Anybody got any... (9 Replies)
Discussion started by: eeisken
9 Replies

10. Shell Programming and Scripting

nawk won't accept comma as delimiter

I have a text file delimited by commas, with three fields (no " marks). I want to use awk to create a fourth field which is equal to the line number + field 1 + .txt I've searched this forum and found the following nawk -v OFS=';' '{print $0, FNR}' myFile Which I've amended to change the... (2 Replies)
Discussion started by: b.hamilton
2 Replies
PUPPET-KICK(8)							   Puppet manual						    PUPPET-KICK(8)

NAME
puppet-kick - Remotely control puppet agent SYNOPSIS
Trigger a puppet agent run on a set of hosts. USAGE
puppet kick [-a|--all] [-c|--class class] [-d|--debug] [-f|--foreground] [-h|--help] [--host host] [--no-fqdn] [--ignoreschedules] [-t|--tag tag] [--test] [-p|--ping] host [host [...]] DESCRIPTION
This script can be used to connect to a set of machines running 'puppet agent' and trigger them to run their configurations. The most com- mon usage would be to specify a class of hosts and a set of tags, and 'puppet kick' would look up in LDAP all of the hosts matching that class, then connect to each host and trigger a run of all of the objects with the specified tags. If you are not storing your host configurations in LDAP, you can specify hosts manually. You will most likely have to run 'puppet kick' as root to get access to the SSL certificates. 'puppet kick' reads 'puppet master''s configuration file, so that it can copy things like LDAP settings. USAGE NOTES
Puppet kick needs the puppet agent on the target machine to be running as a daemon, be configured to listen for incoming network connec- tions, and have an appropriate security configuration. The specific changes required are: o Set listen = true in the agent's puppet.conf file (or --listen on the command line) o Configure the node's firewall to allow incoming connections on port 8139 o Insert the following stanza at the top of the node's auth.conf file: # Allow puppet kick access path /run method save auth any allow workstation.example.com This example would allow the machine workstation.example.com to trigger a Puppet run; adjust the "allow" directive to suit your site. You may also use allow * to allow anyone to trigger a Puppet run, but that makes it possible to interfere with your site by triggering exces- sive Puppet runs. See http://docs.puppetlabs.com/guides/rest_auth_conf.html for more details about security settings. OPTIONS
Note that any configuration parameter that's valid in the configuration file is also a valid long argument. For example, 'ssldir' is a valid configuration parameter, so you can specify '--ssldir directory' as an argument. See the configuration file documentation at http://docs.puppetlabs.com/references/latest/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet master with '--genconfig'. --all Connect to all available hosts. Requires LDAP support at this point. --class Specify a class of machines to which to connect. This only works if you have LDAP configured, at the moment. --debug Enable full debugging. --foreground Run each configuration in the foreground; that is, when connecting to a host, do not return until the host has finished its run. The default is false. --help Print this help message --host A specific host to which to connect. This flag can be specified more than once. --ignoreschedules Whether the client should ignore schedules when running its configuration. This can be used to force the client to perform work it would not normally perform so soon. The default is false. --parallel How parallel to make the connections. Parallelization is provided by forking for each client to which to connect. The default is 1, meaning serial execution. --tag Specify a tag for selecting the objects to apply. Does not work with the --test option. --test Print the hosts you would connect to but do not actually connect. This option requires LDAP support at this point. --ping Do a ICMP echo against the target host. Skip hosts that don't respond to ping. EXAMPLE
$ sudo puppet kick -p 10 -t remotefile -t webserver host1 host2 AUTHOR
Luke Kanies COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License Puppet Labs, LLC June 2012 PUPPET-KICK(8)
All times are GMT -4. The time now is 03:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy