Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Browsing all 17759 articles
Browse latest View live
↧

How do I access the error status of a filesystem?

I know how to use fsck. What I want to know is, when you run fsck on a borked filesystem, you immediately see a "filesystem has errors" notification, then it goes on to scan the FS.I just want a quick...

View Article


postfix can't receive email from forwarded address?

I have postfix setup to forward all emails sent to my website to my gmail account.It works for all email addresses except my gmail account. (Works for other gmails)/etc/postfix/virtual looks like...

View Article


Going into Linux administration too.

Hi there, I have been messing around with Linux desktop for quite some time. I decided quite some time ago to go into administration, I am studying for Linux Essentials Exams, I'm learning Python and...

View Article

How do you deploy?

How do you deploy new Linux builds? Linux admin for a number of years and I really like cobbler and puppet. I've tried using Satellite and Spacewalk for system management, but I find their interfaces...

View Article

Restrict users to a specific set of commands? I cannot use rssh

Hello all. We have created a login server that specific users will use. We want those users to have access to very specific set of commands. Anyway to do this with out using rssh? I cannot think of any...

View Article


Detecting OS in a makefile

I have a program that I would like to install that has a comment in the makefile like# Uncomment the following if using Red Hat or CentOS #CXX = g++44 My question is, isn't there a simple way for the...

View Article

Help with sudo as another user and cp

This is probably crazy easy and I'm likely missing it just because I'm running on 4 hours sleep for the past 3 days so please forgive me for being dense.I'm trying to execute cp as another user using...

View Article

Perform yum updates with Salt?

I've googled around and am not finding anything, does anyone know how to do yum update -y using Salt on a bunch of servers?I know of the built-in modules, such as salt '*' pkg.install cowsay etc, but...

View Article


Deny PAM password and session for service that doesn't need it?

So I'm setting up OpenVPN, and using the openvpn-auth-pam.so plugin. Instead of just telling it to use 'login' or another pam config file, I figured I'd make one for it called 'openvpn'. My question is...

View Article


Directory Server for Linux.

Let's talk directory services (eeeep!). I want to allow my users to be able to log-in to *nix machines for the following reasons: Centralized user accounting is much easier than local users. I can...

View Article

What's a Linux command you wish you had known about years ago when it would...

For me, it was screen. There were times I spent hours past my shift waiting for processes to complete. submitted by MattTheFlash [link][24 comments]

View Article

Unix based backup script

Hey guys, I have a mac, and tend to use the unix based commands on it a lot. And instead of paying for a backup software I just wanna tar my Documents to my hard drive. All I wanna do in my script is...

View Article

sssd authentication to AD over port 636

I'm trying to get sssd to play nice with Active Directory on port 636. It works beautifully using 389, but not 636. I import the base64 CA root certificate to /etc/ssl/certs directory, but I can't seem...

View Article


Knowing C / low-level details...

I've been a Windows admin for a couple years, and one of the things that I don't enjoy about the work is that there aren't many occasions where I get to use or grow some of my lower-level skills, like...

View Article

Finding JUST iowait stat?

Is there a way to reliably query /proc or /sys to find just my iowait stat on ubuntu? I know I can parse it out of iostat but I'd like to query directly if possibleI want to create an alert if it gets...

View Article


Kernel panic domain validation write failure.

In my client place, they were running zimbra mail server on centos.sometimes they got read only filesystem on root HDD & they were run fsck on with mounted root. last two days ago they got kernel...

View Article

BMC Bladelogic - Anyone used this for Linux config mgmt. and/or...

For lack of a better explanation, this tool is being shoved down our throats by upper management because it's "already paid for" and "worked so well for the Windows group", and clearly more robust...

View Article


Evil Linux Instructor Tricks - Or how to torture students for fun and profit.

In this thread from a couple days ago I mentioned that I used to be an Instructor for Red Hat and that many of us had an evil bag of tricks.As an instructor, I occasionally came across either very...

View Article

Been hacked, seeking advice.

<TL;DR> I got hacked- what do? Early Jan, I noticed that there were entries in /var/log/auth.log that indicated that I (my non-root user account 'M') was logging in via SSH from IP's in...

View Article

CLI + Web Browser in a Secure Environment

I'm working on a system for an engineer that is locked down, but not down to the server level -- meaning, it can run Xorg.It will be primarily used inside a secure environment. This means that the...

View Article
Browsing all 17759 articles
Browse latest View live