Wanting normal users to mount a drive, I found several ways - in theory. Still none works here. I consider the ppriv most promising: > % ppriv -e -D mount -F ext2fs /dev/dsk/c2t0d0p2 /media/audio/ > Only root may run this program. Which means, I am no wiser. (I was hoping for something like % ppriv -e -D format Searching for disks...format[1694]: missing privilege "file_dac_read" (euid = 101, syscall = 5) needed at devfs_unlocked_access+0x7d format[1694]: missing privilege "file_dac_write" (euid = 101, syscall = 5) needed at ufs_iaccess+0xe1 format[1694]: missing privilege "file_dac_write" (euid = 101, syscall = 5) needed at ufs_iaccess+0xe1 done No permission (or no disks found)! Then I still would have no clue how to add those, except of manually, in /etc/security/exec_attr, but at least I could try.)
"create a role with PRIV_SYS_MOUNT privilege and give the users that role" is another one that I found. I could find man roleadd, but it didn't reveal its secrets to me: # roleadd -u 101 PRIV_SYS_MOUNT UX: roleadd: PRIV_SYS_MOUNT name too long. UX: roleadd: PRIV_SYS_MOUNT name should have at least one lower case character. UX: roleadd: ERROR: uid 101 is already in use. Choose another. Uwe This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
