Skip to main content

Questions tagged [administration]

The tag has no usage guidance.

19 votes
1 answer
3k views

Proper way to write C code that injects message into /var/log/messages?

In Linux, RHEL-8.10 or later if it matters, I would like to write some C code that takes in various parameters and upon a certain condition issues a system("init 0") to shutdown the system. ...
ron's user avatar
  • 7,264
0 votes
2 answers
75 views

Setting Application Defaults in Linux /etc/default

I posted this question over in ServerFault, but it isn't getting any answers. What does the group assembled here think? I've looked in the local Confluence docs and it's been this way for like ten ...
Chris K's user avatar
  • 60
0 votes
0 answers
22 views

how to manage size of /home .cache and .local folders

running RHEL 8.10 x86-64 on a server with many users, /home is on a separate partition, and all user accounts as defined in /etc/passwd have their account under /home but there is a separate /data ...
ron's user avatar
  • 7,264
0 votes
0 answers
62 views

How do I run pi-hole using Podman?

I am building a home server just for fun and for the learning experience. This is my first time, so I am relatively new to all of this. The plan is to run things like pi-hole and Nextcloud and a few ...
ppflaum's user avatar
0 votes
2 answers
198 views

'apt-get update' failing

So i just now tried to update my installed packages in order to upgrade my Debian version and 'apt-get update -y' threw me this error: apt-get update -y Hit:1 http://security.debian.org buster/updates ...
Flubio's user avatar
  • 3
1 vote
0 answers
118 views

Handling the putty SSH Warning Potential Security Breach (changed host key)

Scenario: Linux server, allowing users to connect via SSH using the putty-0.80.exe ssh client on Windows 10. Work environment, 100+ users mostly NOT computer savvy Linux Server updated from Redhat-7 ...
ron's user avatar
  • 7,264
0 votes
0 answers
170 views

How to Free Up Space on Full overlay and /dev/vda1 Filesystems in a Linux Environment?

I am facing an issue where the overlay and /dev/vda1 filesystems on my server are both completely utilized, showing 100% usage. This scenario has led to operational challenges, and I am seeking advice ...
babel AI's user avatar
1 vote
0 answers
158 views

Performance Co-pilot (pcp) necessary? and pmlogger folder filling up

on a Redhat 8.9 system built from rhel-8.9-x86-64.iso as Server with GUI, I have the following rpm's installed (see below) by default I assume. The folder /var/log/pcp/pmlogger/<hostname>/ has ...
ron's user avatar
  • 7,264
0 votes
0 answers
150 views

How to generate daily report of total bytes written (TBW,DWPD) to disk (SSD) in Linux

What is the best way to get the correct value of total bytes written to disk per day? My goal is to log it over time, so as an admin you can gain some sense of activity on a Linux Server and have a ...
ron's user avatar
  • 7,264
0 votes
1 answer
53 views

xfs_quota bsoft limit explanation

Using RHEL 8.9, I have xfs_quota applied to each home account folder under /home. In doing xfs_quota -x -c 'limit bhard=1g ron' /home I can observe for example a cp fail when trying to copy a single ...
ron's user avatar
  • 7,264
0 votes
0 answers
40 views

How to start openvpn without any daemonization and log redirection?

I want effectively a debug modus, i.e. I do not want openvpn to fork I want all output in the stdout/stderr and nothing in various logs. How can I do that? I could stop forking with a --daemon=0, ...
peterh's user avatar
  • 9,848
2 votes
2 answers
618 views

validity of imposing tmux on users

If you look at STIG reference V-230349 you will see the full text, which I am about to summarize. The initial statement, or rule title, is RHEL 8 must ensure session control is automatically started ...
ron's user avatar
  • 7,264
0 votes
1 answer
61 views

Persistent atop across reboots

atop shows total CPU time since the last reboot. How can I have it persist across reboots?
wdkmaaeo's user avatar
0 votes
0 answers
13 views

enumerating user scopes/slices

I need to enumerate programaticaly all user scopes under a systemd instance. currently i'm doing systemctl --state running list-units user@* which gives me units such as [email protected] Then i use ...
gcb's user avatar
  • 428
0 votes
0 answers
194 views

Creating password protected folders inside password protected samba share

I have already created a password protected samba share which is working fine, but my organizations requirement is as follows: Separate password protected directories for each department Inside every ...
Aparajith's user avatar

15 30 50 per page
1
2 3 4 5
16