Skip to main content

Changing Ownership and Group Permissions in Linux

Giving Ownership from 'root' to 'lsadm' for ldirectory

[root@seplinuxuatapp1 /]# chown lsadm ldirectory
[root@seplinuxuatapp1 /]#ls -l

total 197
drwxr-xr-x 2 root root 4096 Apr 9 14:26 bin
drwxr-xr-x 4 root root 1024 Apr 9 14:31 boot
drwxr-xr-x 22 root root 118784 Apr 10 11:01 dev
drwxr-xr-x 55 root root 8192 Apr 11 16:43 etc
lrwxrwxrwx 1 root root 9 Apr 9 14:33 home -> /usr/home
drwxr-xr-x 2 root root 4096 Jan 24 2003 initrd
drwxr-xr-x 11 root root 4096 Apr 9 14:29 lib
drwx------ 2 root root 16384 Apr 9 07:23 lost+found
drwxr-xr-x 5 lsadm root 4096 Apr 11 16:40 ldirectory
drwxr-xr-x 2 root root 4096 Jun 21 2006 misc
drwxr-xr-x 4 root root 4096 Apr 9 14:31 mnt
drwxr-xr-x 2 root root 4096 Jan 24 2003 opt
dr-xr-xr-x 84 root root 0 Apr 10 04:00 proc
drwxr-x--- 5 root root 4096 Apr 9 18:28 root
drwxr-xr-x 2 root root 8192 Apr 9 14:26 sbin
drwxrwxrwt 5 root root 4096 Apr 11 04:02 tmp
drwxr-xr-x 17 root root 4096 Apr 9 14:33 usr
drwxr-xr-x 23 root root 4096 Apr 9 14:32 var

Giving Group permission from 'root' to 'lgroup' group for ldirectory

[root@seplinuxuatapp1 /]# chgrp lgroup ldirectory
[root@seplinuxuatapp1 /]# ls -l
total 197
drwxr-xr-x 2 root root 4096 Apr 9 14:26 bin
drwxr-xr-x 4 root root 1024 Apr 9 14:31 boot
drwxr-xr-x 22 root root 118784 Apr 10 11:01 dev
drwxr-xr-x 55 root root 8192 Apr 11 16:43 etc
lrwxrwxrwx 1 root root 9 Apr 9 14:33 home -> /usr/home
drwxr-xr-x 2 root root 4096 Jan 24 2003 initrd
drwxr-xr-x 11 root root 4096 Apr 9 14:29 lib
drwx------ 2 root root 16384 Apr 9 07:23 lost+found
drwxr-xr-x 5 lsadm lgroup 4096 Apr 11 16:40 ldirectory
drwxr-xr-x 2 root root 4096 Jun 21 2006 misc
drwxr-xr-x 4 root root 4096 Apr 9 14:31 mnt
drwxr-xr-x 2 root root 4096 Jan 24 2003 opt
dr-xr-xr-x 84 root root 0 Apr 10 04:00 proc
drwxr-x--- 5 root root 4096 Apr 9 18:28 root
drwxr-xr-x 2 root root 8192 Apr 9 14:26 sbin
drwxrwxrwt 5 root root 4096 Apr 11 04:02 tmp
drwxr-xr-x 17 root root 4096 Apr 9 14:33 usr
drwxr-xr-x 23 root root 4096 Apr 9 14:32 var



Regards
Avinash Pillai
URL : http://avinashpillai.blogspot.com
Email: avinashp[AT]aztecsoft[DOT]com, avinashp25[AT]gmail[DOT]com

Comments

Popular posts from this blog

What is Cybersecurity Risk? Definition & Factors to Consider

  Cybersecurity risk has become a leading priority for organizations as they embrace digital transformation and leverage advanced technology solutions to drive business growth and optimize efficiencies. Additionally, many organizations are increasingly reliant on third-party and   fourth-party vendors   or programs.  In this post, we’ll explore what cybersecurity risk is and take a look at some key cybersecurity risk factors that organizations across all industries should keep in mind as they build and refine their   cybersecurity risk management strategy .   What is cybersecurity risk? Cybersecurity risk refers to   potential threats and vulnerabilities   in digital systems. It encompasses the likelihood of a cyberattack compromising data or systems, leading to financial,   reputational , or operational damage. A few examples of cybersecurity risks include   ransomware ,   malware ,   insider threats ,   phishing attacks ...

How To Manage Dell Servers using OMSA – OpenManage Server Administrator On Linux

OMSA is a web based application to manage DELL PowerEdge Servers. Using OMSA you can perform proactive system monitoring, system diagnosis, troubleshoot hardware issues and configure RAID etc., You can also view and manage hardware’s embedded system management (ESM) log using OMSA. This is an jumpstart guide that explains how to install Dell OMSA on Linux. I have also provided few screenshots of DELL OMSA web application. 1. Download DELL OMSA Go to DELL support website -> click on “Drivers & Downloads” -> choose your server model (in my case, I selected PowerEdge 2850) -> choose the operating system -> scroll-down and expand ‘Systems Management’ -> Click on ‘OpenManage Server Administrator Managed Node’ -> Click on OM_5.5.0_ManNode_A00.tar.gz to download it. You can directly download it to your Linux server as shown below. # mkdir -p /usr/local/omsa # cd /usr/local/omsa # wget http://ftp.us.dell.com/sysman/OM_5.5.0_ManNode_A00.tar.gz 2....

AI Ethics, Governance, and ESG

            AI Ethics, Governance, and ESG Welcome to AI ethics, governance, and ESG. In this document, you will learn about what AI governance is and what it accomplishes, what ESG is and what it accomplishes, and how governance and ESG connect to AI ethics? Governance is the organization's act of governing through its corporate instructions, staff, its processes and systems to direct, evaluate, and monitor, and to take corrective action throughout the AI lifecycle to provide assurance that an AI system is operating as an organization intends it to, and as stakeholders expected to, and as may be required by relevant regulation. The objective of governance is to deliver trustworthy AI by establishing requirements for accountability, responsibility and oversight. Governance provides many benefits, including, for example, trust. When AI activities are aligned with values organizations ...