Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Linux for System Administrators
  • Table Of Contents Toc
Linux for System Administrators

Linux for System Administrators

By : Viorel Rudareanu, Daniil Baturin
4.9 (10)
close
close
Linux for System Administrators

Linux for System Administrators

4.9 (10)
By: Viorel Rudareanu, Daniil Baturin

Overview of this book

Linux system administration is an essential aspect of maintaining and managing Linux servers within an organization. The role of a Linux system administrator is pivotal in ensuring the smooth functioning and security of these servers, making it a critical job function for any company that relies on Linux infrastructure. This book is a comprehensive guide designed to help you build a solid foundation in Linux system administration. It takes you from the fundamentals of Linux to more advanced topics, encompassing key areas such as Linux system installation, managing user accounts and filesystems, networking fundamentals, and Linux security techniques. Additionally, the book delves into the automation of applications and infrastructure using Chef, enabling you to streamline and optimize your operations. For both newcomers getting started with Linux and professionals looking to enhance their skills, this book is an invaluable hands-on guide with a structured approach and concise explanations that make it an effective resource for quickly acquiring and reinforcing Linux system administration skills. With the help of this Linux book, you’ll be able to navigate the world of Linux administration confidently to meet the demands of your role.
Table of Contents (21 chapters)
close
close
1
Part 1: Linux Basics
7
Part 2: Configuring and Modifying Linux Systems
13
Part 3: Linux as a Part of a Larger System

Changing groups

The chgrp command will be discussed now in the context of making packtgroup the new owner of testfile. After the command, we specify the name of the group and the name of the file whose ownership is to be changed (in this case, testfile):

sudo chgrp packtgroup testfile

Let’s check the ability of user packtdemo to write to this file now. A permission refused error should appear for the user. We can set the relevant permissions for the group to allow packtdemo to write to the file:

sudo chmod g+w testfile

Then use usermod once more to add the account to packtgroup, this time using the -aG combined option as follows:

sudo usermod -aG packtgroup packtdemo

The abbreviation for append to group is -aG.

Currently, packtgroup is referred to as a subsidiary or auxiliary group for user packtdemo. When packtdemo next logs in, the updated access permissions will be active.

We can use chown followed by the usernames and filenames, in that order, to...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Linux for System Administrators
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon