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; }
mass reassign to mmccune
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.
giving up on this request for now. Maybe it'll reappear in spacewalk.