역할 사용에 대한 자세한 내용은 Oracle Solaris 11.2의 사용자 및 프로세스 보안 의 사용자에게 권한 지정을 참조하십시오.
자세한 내용은 Oracle Solaris 11.2의 사용자 및 프로세스 보안 의 지정된 관리 권한 사용을 참조하십시오.
다음 예제는 두 개의 기존 권한 프로파일을 새 프로파일에 추가합니다.
# profiles -p new-profile profiles:new-profile> set desc="description" profiles:new-profile> add profiles="Unified Archive Administration" profiles:new-profile> add profiles="Zone Security" profiles:new-profile> commit; end; exit
이 단계에서 새 역할에 대한 암호도 설정합니다.
# roleadd -c "comment" -m -K profiles"new-profile" new-role # passwd new-role Password: xxxxxxxx Confirm password: xxxxxxxx
# usermod -R +new-role user