Article

coolguys's picture
article
Reads:

1808

Score:
0
0
 
Comments:

0

Switching eDirectory 8.8 to a Non-Root User

(View Disclaimer)

Problem

A Forum reader recently asked:

"What do I need to do to switch from a root to a nonroot user for running edirectory 8.8? My goal is not to change port rather switch from root user to start the edir instance to non-root user. As long as I give the non-root user file permision to the directory where eDirectory is installed, I should be able to switch to that user, right?"

And here's the response from Juergen Schulz ...

Solution

Under Solaris (I tested it with Solaris 10) you can give a user privileges. If you want a user to allow access to ports lower than 1023, then log out this user and give him privileges with this:

usermod -K defaultpriv=basic,net_privaddr USERNAME

After the next login, the user will have access to these ports.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2012 Novell