LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2015, 10:35 PM   #1
QWE123
Member
 
Registered: Nov 2014
Posts: 49

Rep: Reputation: Disabled
change acl group name


In my linux server , there is a path have setup acl , run the command getfacl get the output as below.

Code:
#getfacl edp
group::---
group:root:r-x
group:itaudit:r-x
group:edp1:rwx
I would like to change the group name from "edp1" to "edp2" , as below , would advise how to do it ?

Code:
#getfacl edp
group::---
group:root:r-x
group:itaudit:r-x
group:edp2:rwx
 
Old 08-20-2015, 01:31 AM   #2
paul2015
Member
 
Registered: Apr 2015
Distribution: CentOS Fedora
Posts: 149

Rep: Reputation: 4
hello

I see you have just several acl so it will not be problem to remove all and assign themagain

remove

setfacl -b

add

setfacl -m u:itaudit:r-x
setfacl -m g:root:rwx
setfacl -m g:edp1:rwx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getfacl group number in ACL andySMI Linux - Server 3 03-20-2012 09:32 PM
Setting up ACL's for restricted group access in OpenLDAP trekgirl Linux - Security 9 03-15-2012 06:22 PM
freeradius User/Group ACL vikki Linux - Server 1 02-17-2011 09:19 AM
To apply acl for two diffrent user,group in RHEL5,Squid 2.6 mbnaik Linux - Enterprise 0 10-01-2007 11:27 AM
HOW to - Group ACL aqoliveira Linux - Software 1 12-16-2002 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration