Displaying 20 results from an estimated 7000 matches similar to: "Openssh still logs in while passwd is locked (fwd)"
2018 Dec 04
1
DNS bind - use of /etc/named directory
On Tue, 2018-12-04 at 08:19 +0000, J Martin Rushton via CentOS wrote:
> The '/etc/named.conf.rpmnew' file supplied is a bare minimum to
> "configure the ... server as a caching only nameserver (as a localhost
> DNS resolver only)". As soon as you start adding any structure to it
> things change, not just are added to. See
>
2019 Nov 15
1
Cron - log when job ends?
Hello,
In trying to resolve a problem with a cron job, we can see when the job starts
by looking in the /var/log/cron log file. However, I was asked if when the job
ends could also be logged. (It seems to be something that crops up every so
often over the years.)
I found on the 'net this article
https://serverfault.com/questions/248915/crontab-is-there-any-log-with-begin-and-end-time
which
2019 Aug 05
3
Peculiar process name in /proc
Hello,
I was looking at a process through the '/proc' file system, and came across a
process name which seemed to contain a hex value:
lrwxrwxrwx. 1 xymon xymon 0 Aug 2 14:07 /proc/58032/exe ->
/usr/sbin/xymond;5d44410e (deleted)
I am aware of what the 'deleted' part means, but have no idea what the
';5d44410e' part means. Is this some sort of thread reference?
The
2018 Dec 04
3
DNS bind - use of /etc/named directory
Hello,
For many years we have modified the '/etc/named.conf' file to include local
settings. The disadvantage with this is of course that when bind is updated, it
creates an '/etc/named.conf.rpmnew' file. We then have to determine what is
new, and apply the relevant changes to our modified named.conf file.
There is, however, an '/etc/named' directory which I assumed was
2014 Aug 13
2
MySQL - replication - how to restore master?
Hello,
We have MySQL running as a master which is replicating to a single slave
server. We are, however, considering what is required when a 'disaster'
of some sort happens to either server. By disaster, this could be some
event which requires the entire server to be rebuilt, and which would
usually include restoring from nightly backups directories such as
'/var/lib/mysql' and
2000 Nov 15
1
[PATCH]: nchan.c : internal error: we do not read, but chan_read
Attached is the patch I've been using to fix the error message seen in the
subject line. It seems (!) to have caused no problems with the
previous openssh snapshot version openssh-SNAP-20001016, 2.3.0p1 and the
latest snapshot (openssh-SNAP-20001114).
The patch adds 3 lines to nchan.c in a switch stmt (line 100). It simply
caters for the cases where the input channel state is
2000 Nov 29
1
Pseudo-tty allocation and -T option
Hello,
I've set up a cron job to use ssh with a remote forced command to delete the
contents of a directory. System A has the cron job and uses a specific key
for system B. No command as such is specified since the key on system B
specifies 'command=/bin/rm -rf ...'. However, I am getting error messages
back from the cron system (or rather from ssh) about it not allocating a tty
since
2000 Jul 04
1
Control-c not work under openssh?
Hello,
I'm using openSSH 2.1.1p2 from my Linux PC to Solaris 7 and 8 systems (using
2.1.1p1). No problem, except that if I run a program on the Sun, having used
slogin to connect to it, and then try and issue a control-c to break into
the program it seems to be ignored. I can control-z and then kill the
suspended job, but I'd prefer control-c. I tried setting '-e none' on the
2012 May 30
1
snmpd not working well with selinux?
Hello,
I am trying to use SNMP on a CentOS 6.2 server, and am using the
'pass_persist' configuration command:
pass_persist .1.3.6.1.4.1.141.1 /usr/local/sbin/snmp-iostat
I have set the file context of 'snmpd_exec_t' on the snmp-iostat
program.
If I disable SELinux, then it all works fine (that is, I can then
snmpget/snmpwalk for OIDs in the configured pass_persist OID,
2014 Dec 03
3
CentOS 7 - not using latest installed kernel
Hello,
I have just installed CentOS 7 onto two servers and applied all the
current patches. There are currently two kernels installed:
# rpm -q kernel
kernel-3.10.0-123.el7.x86_64
kernel-3.10.0-123.9.3.el7.x86_64
However, if I reboot the servers they both start up on the older kernel:
# uname -r
3.10.0-123.el7.x86_64
I would have expected them to restart using kernel 3.10.0-123.9.3.
I know I
2015 Mar 30
1
Fail2Ban Centos 7 is there a trick to making it work?
On Tue, 2015-03-10 at 14:43 +0100, Andrea Dell'Amico wrote:
>
> #============= logrotate_t ==============
> allow logrotate_t fail2ban_client_exec_t:file { ioctl read execute
> execute_no_trans open };
>
Looks like this was already fixed in 'selinux-policy'. See
https://bugzilla.redhat.com/show_bug.cgi?id=1114821
John.
--
John Horne Tel: +44
2012 Oct 10
2
Perl - strict.pm not found
Hello,
I installed the ClamAV package onto a CentOS 6.3 server using yum. I
then modified the /etc/freshclam.conf file to run a perl script whenever
the ClamAV databases were updated:
OnUpdateExecute /usr/local/bin/xymon_event ...
The 'xymon_event' command is used on several servers, and generally
works with no problems. However, on this server when
the /etc/cron.daily/freshclam script
2000 May 19
2
Solved: on Solaris, "couldn't wait for child '...' completion: No child processes"
> John Horne [SMTP:J.Horne at plymouth.ac.uk] wrote:
>
> Emanuel Borsboom <emanuel at heatdeath.org> wrote:
>> Trying to install the portable OpenSSH on Solaris 2.6. Compiling from
>> openssh-2.1.0.tar.gz using gcc. Compiles and installs fine. sshd
>> starts fine. First connection from another system works. Child sshd is
>> forked, but the parent dies
2000 Nov 08
1
internal error: we do not read, but chan_read_failed
Hello,
The error message in the subject line occurs with the new 2.3.0 openssh
version and appeared in the previous snapshots on our Solaris systems. As far
as I remember it was reported, but have not seen any more about this. I have
looked into it a little bit.
First, the file session.c (line 1849 onwards):
debug("session_exit_message: release channel %d", s->chanid);
2000 Jun 13
2
Openssh-2.1.1p1 and solaris 7/8
Hello,
I just installed the above openssh onto a Sun Solaris 7 and Solaris 8 system.
No problem with that. However, I now seem to get some rubbish processed when
I login with slogin. An example:
Last login: Tue Jun 13 12:31:27 2000 from jhorne.csd.plymo:tJ`
^[[?1;2c
Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'.
This seems to get passed to the shell, which it of
2020 Jun 07
2
EL8 / certwatch missing
I have some scripts using certwatch from the crypto-utils package. This
rpm seems to be unshipped with EL8. Any ideas whats the "new" tool to
check pem cert files?
--
Leon
2019 Aug 05
1
Peculiar process name in /proc
On Mon, 2019-08-05 at 13:06 +0100, Giles Coochey wrote:
> On 05/08/2019 12:56, John Horne wrote:
> > Hello,
> >
> > I was looking at a process through the '/proc' file system, and came across
> > a process name which seemed to contain a hex value:
> >
> > lrwxrwxrwx. 1 xymon xymon 0 Aug 2 14:07 /proc/58032/exe ->
> >
2019 Nov 18
1
Cron - log when job ends?
On Fri, 2019-11-15 at 16:32 -0500, Karl Vogel wrote:
> > > On Fri, Nov 15, 2019 at 05:54:07PM +0000, John Horne wrote:
>
> J> In trying to resolve a problem with a cron job, we can see when the job
> J> starts by looking in the /var/log/cron log file. However, I was asked if
> J> when the job ends could also be logged. (It seems to be something that
> J> crops
2008 Sep 18
2
Security Guide for CentOS/RHEL
Is there a step by step approach to securing CentOS 4X (or even RHEL 4X)? I don't mean the stuff in the docs/security guide but a working step by step guide? There used to be packages like rkhunter and tripwire but I don't know if the ones in rpmforge/kbs repo are up to date.
Thanks,
Josh.
2008 Oct 14
3
Squid Number of hits
Dear all,
I am running squid on centos 5.Is there is any tool to calculate
number of ip's hit the server for month wise.
Even any command to find out the number of hits is also ok.
Regards,
Lingu