Hi,
Take a look at these links [1,2].
In /lib/one/ruby/simple_permissions.rb (or
$ONE_LOCATION/lib/ruby/simple_permissions.rb in a self-contained
installation) you have to modify the auth_object method. Assuming you want
to give user 7 the same authorization as oneadmin:
--- a/src/authm_mad/simple_permissions.rb
+++ b/src/authm_mad/simple_permissions.rb
@@ -78,7 +78,7 @@ class SimplePermissions
# Authorizes each of the tokens. All parameters are strings. Pub
# means public when "1" and private when "0"
def auth_object(uid, object, id, action, owner, pub)
- return true if uid=='0'
+ return true if (uid=='0' || uid=='7')
auth_result=false
Best regards,
Carlos.
[1] http://opennebula.org/documentation:rel2.2:users
[2] http://opennebula.org/documentation:rel2.2:auth
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | [email protected]
On Wed, Jun 1, 2011 at 12:24 PM, salma rebai <[email protected]> wrote:
> Hi all,
> I work with Opennbeula2.2. I would know is that possible to create a second
> administrator account to opennebula( an internel user). What should I do to
> create an internal user to OpenNebula. Is there some configuration in the
> auth file to make.
> Thanks in advance.
>
> --
> Salma REBAI
> Ingénieur Informatique
> Mastère Réseaux et Systèmes Multimédia
> Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
> Institut Télécom SudParis
> [email protected]
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org