04-17-2010
Agreed, but RBAC is always going to be there; most shops seem to have sudo in place as well. I tend to go at every problem from a 'give as little privilege as possible'. No reason to give a user a sledge hammer when all they need is a screw driver.
Cheers,
Keith
8 More Discussions You Might Find Interesting
1. Solaris
Just got a solaris 8 blade 150 box with no users, only a root account. no one seems to know the password. I'd like to add one user. So I booted into single user mode via cdrom and added one. Can't seem to login using the new account, though. Here's what I'm using:
# useradd -d /tmp/"user" -m... (1 Reply)
Discussion started by: ECBROWN
1 Replies
2. Solaris
Hi All,
I am adding a new user by using Solaris Manamement Console after Remotely Access through Xmanager 1.3.9.
But after completing all steps its through an error as follows.
The Actual Error Reported was :
The management Domain file :/abc/abc do not exist or can not be managed on abc.
... (0 Replies)
Discussion started by: response_manu
0 Replies
3. UNIX for Dummies Questions & Answers
hello everybody:
I need to add a 10 character user name to my tru64 system, is there any work around I can use for that.
thanks alot (1 Reply)
Discussion started by: aladdin
1 Replies
4. SCO
In SCO Unix, where does useradd or adding a user through scoadmin (gui) pick the initial default .profile (login profile) that is put in the users home folder? In Solaris its in the /etc/skel/.profile.
I would like to replace it with a custom .profile; so that it's picked automatically when... (1 Reply)
Discussion started by: othman
1 Replies
5. Solaris
I just installed Solaris 10 yesterday and I need to create a new username and password. I'm new to the system and I have yet to learn my way around. I appreciate all help and thank you in advance. (5 Replies)
Discussion started by: bones
5 Replies
6. Solaris
Hello All,
New to Solaris, I added a new user by cmd " useradd -d /export/home/username -m username " but wondered when I tried to login with this new username, It doesn't automatically redirect to the user's home folder. Can anyone suggest about this? (9 Replies)
Discussion started by: naw_deepak
9 Replies
7. Solaris
Hi all,
when I type this command
useradd -d /home/ram89 -m ram89
it gives an error unable to create home directory.
Why so ?
How to create user in Solaris?
The perfect method?
Please guide me.
Thanks in advance
Manali. (5 Replies)
Discussion started by: manalisharmabe
5 Replies
8. Solaris
How can I add user with Sudo permission in solaris 9 ? I'm new in Solaris (2 Replies)
Discussion started by: ahmednoaman
2 Replies
LEARN ABOUT X11R4
drv_priv
drv_priv(9F) Kernel Functions for Drivers drv_priv(9F)
NAME
drv_priv - determine driver privilege
SYNOPSIS
#include <sys/types.h>
#include <sys/cred.h>
#include <sys/ddi.h>
int drv_priv(cred_t *cr);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
cr Pointer to the user credential structure.
DESCRIPTION
drv_priv() provides a general interface to the system privilege policy. It determines whether the credentials supplied by the user creden-
tial structure pointed to by cr identify a process that has the {PRIV_SYS_DEVICES} privilege asserted in its effective set. This function
should be used only when file access modes, special minor device numbers, and the device policy (see privileges(5), add_drv(1M)) are insuf-
ficient to provide protection for the requested driver function. It is intended to replace all calls to suser() and any explicit checks for
effective user ID = 0 in driver code.
RETURN VALUES
This routine returns 0 if it succeeds, EPERM if it fails.
CONTEXT
drv_priv() can be called from user or interrupt context.
SEE ALSO
add_drv(1M), update_drv(1M), privileges(5)
Writing Device Drivers
SunOS 5.10 29 Jan 2003 drv_priv(9F)