I edit prof_attr
Altro-prof:RO::\
Altro prof:
I assign some commands for "altro-prof"
vim exec_attr
Altro-prof:solaris:cmd:RO::/usr/sbin/prtvtoc:uid=0
Altro-prof:solaris:cmd:RO::/usr/sbin/fdisk:euid=0,privs=all
I assign the profile "Altro-prof" to a user with usermod -P
The command prtvtoc works fine, the command fdisk return this
pfexec -P all fdisk /dev/rdsk/c0t2d0p0
fdisk: Cannot open device /dev/rdsk/c0t2d0p0
Why?
The user has the profile assigned
profiles
Comandi-root
Altro-prof
Basic Solaris User
All
Asked by elbarna
(13690 rep)
Jan 25, 2025, 03:31 PM
Last activity: Jan 28, 2025, 02:17 AM
Last activity: Jan 28, 2025, 02:17 AM