Bug 131519 - Allow Satellite users to create their own accounts
Summary: Allow Satellite users to create their own accounts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike McCune
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-01 20:44 UTC by Matt Domsch
Modified: 2008-10-29 14:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-29 14:23:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2004-09-01 20:44:38 UTC
Description of problem:
RHN Satellite, version 3.8, allows only the Satellite Administrator 
user to create additional normal user accounts.

I'd like for individual users to be able to create their own 
accounts.  The server is on a private network, so security of these 
satellite user accounts isn't a concern.

I did this by brute force, but would appreciate a config option to 
allow such.  Also note, html/newlogin/satellite_finished.pxt needs to 
not then say "you've created an administrator account".  Perhaps a 
second finished.pxt file?


--- Users.pm.~1~        Tue Jul  6 14:06:40 2004
+++ Users.pm    Wed Sep  1 15:36:05 2004
@@ -1557,9 +1557,9 @@
   my %params = @_;

   # satellite?  if so, allow creation IF no users exist, or IF it's 
the user creation page
-  if (PXT::Config->get('satellite') and RHN::User-
>satellite_has_users() and not $pxt->user) {
-    return "Please contact the administrator of this satellite to 
create an account.";
-  }
+#  if (PXT::Config->get('satellite') and RHN::User-
>satellite_has_users() and not $pxt->user) {
+#    return "Please contact the administrator of this satellite to 
create an account.";
+#  }

   my $block = $params{__block__};

@@ -1631,7 +1631,7 @@
       $user_params{-customer_type} = 'S';

       $user = RHN::User->create_new_user(%user_params);
-      RHN::User->add_users_to_groups([ $user->id ], [ $user->org-
>user_group_id('org_admin') ]);
+#      RHN::User->add_users_to_groups([ $user->id ], [ $user->org-
>user_group_id('org_admin') ]);
       $full_user = 1;
       $user->commit;
     }

Comment 1 Robin Norwood 2006-10-17 15:58:49 UTC
mass reassign to mmccune

Comment 2 Matt Domsch 2006-12-11 04:15:26 UTC
In addition, if the satellite is using PAM authentication, that should be a
globally enabled item, and then should not ask for a password at account
creation time, as the password won't actually be used thereafter - the
PAM-checked password will be.

Note: RHN Satellite 5.0.0 beta still has this problem, >2 years after my initial
request.

Comment 3 Matt Domsch 2008-10-29 14:23:24 UTC
giving up on this request for now.  Maybe it'll reappear in spacewalk.


Note You need to log in before you can comment on or make changes to this bug.