Oracle Solaris System Administration (MOSC)

MOSC Banner

What are the necessary authorizations and privileges for nfs mounting?

edited Jun 20, 2011 4:54AM in Oracle Solaris System Administration (MOSC) 1 commentAnswered ✓
Hello,
I've been reading the System Administration Guide Security Services in order to create a Rights Profile that can perform mount/umount.
I can't use File System Management because it's too much.

I've done the following so far without success:
# /etc/security/prof_attr
...
Mounting Administration::::help=RtMountingAdmin.html
Database Administration::::profiles=Mounting Administration;help=RtDatabaseAdmin.html


# /etc/security/exec_attr
...
Mounting Administration:solaris:cmd:::/sbin/mount:privs=sys_mount
Mounting Administration:solaris:cmd:::/sbin/umount:privs=sys_mount


# /etc/user_attr
...
dba::::type=role;profiles=Database Administration
user2::::type=normal;roles=dba

When I use the root role I can successfully mount, but when I log in as user2 and switch to dba and then I can't:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center