0% found this document useful (0 votes)
26 views3 pages

Red Hat User Management and Configurations

The document outlines various tasks and configurations related to Red Hat systems, categorized into user and group management, file permissions, file system and storage, compression and archiving, networking, process and service management, security, software management, troubleshooting, and advanced topics. Each category includes specific tasks such as creating users, managing file permissions, configuring networking, and troubleshooting issues. The document serves as a comprehensive guide for system administrators to perform essential configurations and management tasks on Red Hat systems.

Uploaded by

Mizanur Rahman
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views3 pages

Red Hat User Management and Configurations

The document outlines various tasks and configurations related to Red Hat systems, categorized into user and group management, file permissions, file system and storage, compression and archiving, networking, process and service management, security, software management, troubleshooting, and advanced topics. Each category includes specific tasks such as creating users, managing file permissions, configuring networking, and troubleshooting issues. The document serves as a comprehensive guide for system administrators to perform essential configurations and management tasks on Red Hat systems.

Uploaded by

Mizanur Rahman
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Red Hat Tasks and Configurations

Tasks and Configurations

User and Group Management

1. Create a user named admin1 with the home directory /data/admin1.

2. Create a user report who belongs to the group finance.

3. Add a user audit to both finance and admin groups as secondary groups.

4. Create a group project and add multiple users (dev1, dev2) to it.

5. Create a user guest with the shell /bin/false.

File Permissions

1. Set the SUID permission on the file /opt/security/[Link].

2. Change the owner of /data/docs to user manager and group staff.

3. Remove the write permission for others on /var/log/syslog.

4. Set ACL on /data/sales to allow user sales1 to write to it.

5. Configure /tmp/share so that newly created files have the same group ownership as the parent

directory.

File System and Storage

1. Create a new partition of 500MB using /dev/sdb.

2. Format /dev/sdb1 as an ext4 filesystem.

3. Mount /dev/sdb1 to /mnt/storage and make the mount persistent.

4. Resize the partition /dev/sdb1 to 1GB without data loss.

5. Create a swap partition of 1GB on /dev/sdc.

Compression and Archiving

Page 1
Red Hat Tasks and Configurations
1. Compress the /var/log directory using the zip format.

2. Extract the archive /home/backups/[Link] to /restore.

3. Create an archive of /usr/local/bin using the tar command.

4. Create a compressed backup of /home/user using bzip2.

5. List the contents of the archive /tmp/[Link] without extracting it.

Networking

1. Assign a static IP address to the eth0 interface.

2. Set the DNS server to [Link] in the network configuration.

3. Use ping to verify connectivity with [Link].

4. Configure the system to synchronize time with [Link].

5. Open port 8080 in the firewall and verify using firewall-cmd.

Process and Service Management

1. Find and kill a process consuming more than 80% of CPU.

2. Restart the ssh service and check its status.

3. Configure a service to start automatically at boot.

4. Create a cron job to backup /var/www daily at 2:00 AM.

5. Monitor system resource usage using top and iotop.

Security

1. Create an SSH key pair for user developer.

2. Configure the SSH server to disable root login.

3. Install and configure fail2ban to protect against brute-force attacks.

4. Change the password policy to enforce a minimum of 10 characters.

5. Secure /etc/passwd so that only root can write to it.

Page 2
Red Hat Tasks and Configurations

Software Management

1. Install the package httpd and start the web server.

2. List all installed packages and their versions.

3. Remove the package telnet from the system.

4. Update all installed packages to their latest versions.

5. Add the EPEL repository and install a package from it.

Troubleshooting

1. Analyze and resolve the issue if the httpd service is not starting.

2. Check why a user cannot log in, even though their account is active.

3. Investigate high disk I/O usage on the system.

4. Diagnose and fix a network issue preventing access to the internet.

5. Debug a boot failure caused by a corrupted GRUB configuration.

Advanced Topics

1. Configure LVM to create a logical volume and mount it on /data.

2. Create a script to monitor free disk space and send an alert if it drops below 20%.

3. Set up an NFS share and mount it on a client machine.

4. Configure SELinux to allow httpd to serve content from /webdata.

5. Enable and configure a virtual machine using KVM and virt-manager.

Page 3

You might also like