질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

삼바관련 명령어 중에서 smbcacls의 사용법 좀 가르켜주세요~~

작성자 정보

  • 이태영 작성
  • 작성일

컨텐츠 정보

본문

smbcacls에 대해서 물어볼려구요...

삼바(파일서버)를 구동하는법은 아는데

삼바 + ACL(Access Control List)를 응용한 SMBCACLS 명령어를 사용하려면

정말 어렵더군요...

명령어를 입력하면 이렇게 나옵니다.

------------------------------------------------------------------------------------------------------

[root@localhost share]#smbcacls

Usage: smbcacls //server1/share1 filename [options]
Version: 2.2.7a

 -D <acls>               delete an acl
 -M <acls>               modify an acl
 -A <acls>               add an acl
 -S <acls>               set acls
 -C username             change ownership of a file
 -G username             change group ownership of a file
 -n                      don't resolve sids or masks to names
 -h                      print help
 -d debuglevel           set debug output level
 -U username             user to autheticate as
 -W workgroup or domain  workgroup or domain user is in

The username can be of the form username%password or
workgroupusername%password.

An acl is of the form ACL:<SID>:type/flags/mask
You can string acls together with spaces, commas or newlines

------------------------------------------------------------------------------------------------------

위에서 보다시피 사용법은 smbcacls //server1/share1 filename [options] 이렇게 되어있는데

사용법은 솔라리스의 setfacl과 비슷합니다.

될듯 말듯하면서 안되는게 정말 사람 애먹이네요 ㅡㅡ;;

같이 연구해 보실분... 아니면 아시는분은 답글 달아주세요 ^^

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,074 명
  • 현재 강좌수 :  35,995 개
  • 현재 접속자 :  374 명