hosts.allow and hosts.deny questions how to restart without rebooting?
location: ubuntuforums.com - date: January 18, 2011
Hi, I'm trying to lock down my new xubuntu 10.10 load using firestarter firewall and hosts.allow and hosts.deny. I basically added sshd to be allowed from specific host systems which seems to work. Also, in order to allow xrdp do I just add xrdp to the hosts.allow as well? Still working out kinks.
However, I have to reboot everytime I add any entries to these files before they become active. From what I recall I never had to do that with any of my other linux loads. Does this have something to do with tcpwrappers or something in ubuntu?
Also, does anyone know how to add an execute or run command somewhere that's easy to access? The only place I've found this is after opening task mgr which seems kind of silly. Thx
location: linuxquestions.com - date: February 27, 2007
I've been reading up on securing ssh a little more (our server at work was hacked since a machine somewhere on the shared network had a trojan so now I've got to secure the machine better). I have read this post: http://www.linuxquestions.org/questi...=340366&page=3 and it contains mostly scripts and things to actively lock things up. I have some general questions about the hosts.allow and hosts.deny files.
I thought I had the format of hosts.deny right (from following the thread I mentioned) by using the following:
How to refresh hosts file without rebooting
location: ubuntuforums.com - date: June 9, 2010
Every time when i make changes to hosts file it requires a restart to work properly,is there any alternate way to refresh the hosts file without restarting the system..?
[SOLVED] question about hosts.allow/hosts.deny
location: linuxquestions.com - date: May 24, 2006
I'm currently trying to secure a LAMP server (Slackware 10.1) and have plenty of questions. First one (this thread) is that I'm trying to understand hosts.deny and hosts.allow . With the setup shown below I can still remotely connect to the mysql server application (port 3306). So question is why this is still possible? Where and how do the files influence the system?
So I'm looking for an explanation, not a solution.
How to refresh hosts file without rebooting
location: linuxexchange.com - date: January 1, 1970
On Windows, how do you refresh the hosts file without rebooting?
Adding shell commands to hosts.deny and hosts.allow
location: linuxquestions.com - date: December 28, 2003
I'm running Debian Woody, but I can't seem to find documentation about running shell commands from within hosts.deny (and hosts.allow). Currently, I have the standard deny file...
ALL : ALL
I want to add logging, but I'm getting errors...
ALL : ALL : (/bin/echo "$(/bin/date) %H TCPW: %d" >> /var/log/secure)
bad option name: "(/bin/echo"
ALL : ALL : spawn(/bin/echo "$(/bin/date) %H TCPW: %d" >> /var/log/secure)
bad option name: "spawn(/bin/echo"
Any help on the syntax? Thanks in advance!
how to configure SSH to allow or deny specify host(ip address).
- date: December 31, 2007
hi, /etc/ssh/sshd_config i just only know to configure allow user:
AllowUser user1 user2
AllowUser [email protected]
How to configure deny from both directive? is it DenyUser directive correct?
If i want only allow or deny Host(ip address), how to configure, what directive?
? is it correct?
LXer: How to restart X server ubuntu 12.04 without rebooting
location: linuxquestions.com - date: May 29, 2012
Published at LXer:
Your ubuntu desktop crash or you make some changes in Ubuntu Desktop that require restarting the X Server. To restart the Xserver without rebooting we usually use the key combination Ctrl + Alt + Backspace. but, Since Ubuntu 9.04, this key combination has been disabled by default, to eliminate the problem of accidentally triggering the restart.
How do I restart X without rebooting?
location: linuxquestions.com - date: February 23, 2006
I'm currently trying to setup a display on an older laptop, and I'm not sure how to restart only the X server when I want to try resolution changes.
What's the proper way to just restart the X server, without rebooting the machine?
Hosts.deny file sample??
location: ubuntuforums.com - date: September 5, 2008
Can someone post either copy of IP inputs in their /etc/hosts.deny file or post the Correct way of inputting the IP addresses in there please?
No matter what I put there I get an error. (My log file is /var/log/auth.log btw,)
Like when I put : (colon) to separate the IP addresses I get:
warning: /etc/hosts.deny, line 21: missing ":" separator
Or when I put a \ (backslash) I get:
warning: /etc/hosts.deny, line 31: missing newline or line too long
Here's part of my hosts.deny: (And I dont care if YOUR IP address is in the *hitlist) lol j/k
# versions of Debian this has been the default.
# ALL: PARANOID
I Have searched the net but found many diff. versions. many of them put a comma , between the IP addresses but that was the 1st try and of course got the same error?!But most site won
Page: 1 2 3 4 5 6 7 8 9 10