Commit 92fab652 authored by Franco Fichtner's avatar Franco Fichtner

rc: don't (re)set shell privileges on password reset anymore

The admins group has this now, it makes more sense there as several
people ran into the issue of "my user is admin, but cannot login".

Besides, the privilege sets /bin/csh as the user shell, which we don't
use for root as we have /usr/local/etc/rc.initial there.
parent 2339147d
......@@ -63,7 +63,6 @@ if (strcasecmp(chop(fgets($fp)), 'y') == 0) {
}
$admin_user['name'] = $g['factory_shipped_username'];
$admin_user['priv'] = array('user-shell-access');
$admin_user['scope'] = 'system';
if (isset($admin_user['disabled'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment