Search found 66 matches

by larwood
2021/12/21 05:50:58
Forum: CentOS 7 - General Support
Topic: A way to have accounts usable on different computers?
Replies: 1
Views: 1992

Re: A way to have accounts usable on different computers?

I think it would be easier to change the hostname of the CentOS install and join to the domain. IP address can be the same doesn't matter. Ideally DHCP reservations as the MACaddress will be the same for both. We have had a few examples of this at my work and we name the Windows install ms<MACaddres...
by larwood
2021/10/08 05:20:34
Forum: CentOS 7 - Security Support
Topic: Apache CVE : CVE-2021-41524
Replies: 3
Views: 4803

Re: Apache CVE : CVE-2021-41524

My understanding is the vulnerabilities only affect versions 2.4.49 & 2.4.50. You should not be affected with 2.4.6.

https://www.cyber.gov.au/acsc/view-all- ... ttp-server
https://httpd.apache.org/security/vulne ... es_24.html
by larwood
2021/09/03 05:23:58
Forum: CentOS 7 - General Support
Topic: rsyslog rule creation
Replies: 2
Views: 1154

Re: rsyslog rule creation

As you are using CentOS 7.9 I will assume you are on rsyslog v8.24 so you can add this rule above the standard rules.

Code: Select all

if $syslogfacility-text == 'local4' then {
action(type="omfile"
    name="cisco_logs"
    file="/var/log/cisco.log"
  )
  stop
}
by larwood
2021/08/20 05:29:05
Forum: CentOS 7 - Software Support
Topic: rsyslog server does not process messages from other hosts
Replies: 4
Views: 3886

Re: rsyslog server does not process messages from other hosts

I find logger useful for testing syslog over UDP. Here are two examples sent from the source server to the syslog server. # logger --udp --server syslog.domain.internal --tag 'production' --priority local0.info 'Just testing' # logger --udp --port 514 --server syslog.domain.internal "Just testing $(...
by larwood
2021/08/20 05:23:52
Forum: 8 /8-Stream / 9-Stream - General Support
Topic: root partition shows 100% use but actually not
Replies: 6
Views: 2157

Re: root partition shows 100% use but actually not

Yes I agree with TrevorH that this is most likely your issue. Take a look at this Red Hat article for a full explanation: https://access.redhat.com/solutions/2316 My own notes from when I encountered this issue and did not want to restart the affected service: - # lsof +L | grep deleted scopeux 4421...
by larwood
2021/07/20 01:11:36
Forum: 8 /8-Stream / 9-Stream - General Support
Topic: Where does cockpit-pcp store its data
Replies: 4
Views: 2155

Re: Where does cockpit-pcp store its data

Logs are here:
/var/log/pcp/pmlogger/$(hostname)/
by larwood
2019/10/23 05:08:50
Forum: CentOS 7 - Security Support
Topic: fail2ban with firewallcmd-ipset does not work on 7.3 1611
Replies: 7
Views: 26562

Re: fail2ban with firewallcmd-ipset does not work on 7.3 1611

My search results directed me here so I thought this post was worth updating in the event it may assist others. A few days ago I updated my server from CentOS 7.6.1810 to 7.7.1908. During some post checks I found that fail2ban wasn't effectively blocking IPs and these are some of the relevant errors...
by larwood
2019/03/14 06:42:15
Forum: CentOS 7 - Hardware Support
Topic: fstab settings for nfs volume mount
Replies: 7
Views: 2920

Re: fstab settings for nfs volume mount

You will need to add _netdev to your mount options.

As you are using CentOS 7 a better method would be to use systemd. I have an example posted here for CIFS that you could modify for NFS.
by larwood
2018/09/28 06:18:23
Forum: CentOS 6 - General Support
Topic: Remote Desktop
Replies: 2
Views: 3010

Re: Remote Desktop

Firewall?
by larwood
2018/09/28 06:16:31
Forum: CentOS 7 - General Support
Topic: fstab doesn't mount active directory shared folder
Replies: 4
Views: 3193

Re: fstab doesn't mount active directory shared folder

As you are using CentOS7 you should use systemd. Here are some notes on how I did it. You should name your mount file /etc/systemd/system/web-my_doc.mount and change the other fields to suit your requirements: # vim /mnt/cifs/.cifs_creds username=user1 password=secret # chmod 600 /mnt/cifs/.cifs_cre...