[BlueOnyx:25070] Re: New 5210R install - admin user not created?

Michael Stauber mstauber at blueonyx.it
Tue Aug 24 11:18:05 -05 2021


Hi Richard,

> I have a fresh 5210R on CentOS 8. The installation seemed to go cleanly but
> the admin user was not created:
> 
>> sudo passwd admin
> passwd: Unknown user name 'admin'.
> 
> If I run /usr/sausalito/scripts/initServices.sh again and reboot the root pw
> is reset to 'blueonyx' and the installation completes, but still no admin
> user. I can access http://[ip.add.re.ss]:444 but not log in.  Rebooting
> without running initServices.sh also launches into the Network Setup Utility
> the next time I log in as root.
The CCE-Constructor /usr/sausalito/constructor/base/user/50_addAdmin.pl
creates the "admin" user when CCEd is restarted and the user doesn't
exist yet. You can also run it manually at any time.

However: If user "admin" isn't there at the stage you're currently are
at, then this indicates that the server doesn't have working disk quota.

Depending on your partitioning the /home partition (or / in case there
is no separate /home) should have the flags 'usrquota,grpquota' in your
/etc/fstab. Something like this, though yours might look different
depending on partitioning:

[root at 5210r ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda
#
UUID=<UUID> /      xfs   defaults,usrquota,grpquota        1 1
UUID=<UUID> /boot  xfs   defaults        1 2
UUID=<UUID> swap   swap  defaults        0 0

If there is a separate /home, then your /etc/fstab would have that instead:

UUID=<UUID> /home  xfs   defaults,usrquota,grpquota        1 1

You can also check this way if you have quota:

[root at 5210r ~]# mount|grep quota
/dev/sda3 on / type ext4 (rw,relatime,quota,usrquota,grpquota)

That tells us that / on /dev/sda3 has 'usrquota' and 'grpquota'.

If you are using a containerized virtualization solution like OpenVZ or
LXC or LXD, please make sure to enable disk quota for the VPS, as it
might not be enabled by default.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list