New Account Failed

Started by mabdala68, December 03, 2024, 04:59:17 PM

Previous topic - Next topic

mabdala68

Have an idea ???  when I create a new account, this message appear ::::  Warning! User Account XXXXX not added !!!

using Almalinux 8


overseer

Do you have a Package with limits set up and are assigning that to the new user?

mabdala68

#2
Yes I create a Package for this user.. I proof with the old package (active in other users), not work too

mabdala68

2024-12-04 02:12:33 CreateAccount_FAILED HOMEDIR_EXISTS:qwerty:qwerty.com    /// but the account not created !!

cyberspace

The error says the home folder of the user you try to create exists (/home/USERNAME). It could happen of you created/removed users manually using useradd/userdel commands or created some folders inside /home/.

Make sure /home/USERNAME doesn't exist.
(USERNAME - username you try to create)

mabdala68

#5
"The user and the folder are not created. The error appears when trying to create a new user, but nothing is created. It only shows that message."
It's as if the root user had lost the privilege to create new users, but even from a Reseller account, new users cannot be created either

overseer

Have you done tests with the root user in a shell? -- create a test user via CLI tools, see what happens in /home, verify that root is able to function normally on the system. (Side note: I always create another sudo/admin user on every system I administer, that way I can ssh in as that admin user and only elevate privileges as necessary.)

mabdala68

hank you for your suggestion. I haven't tried what you mentioned about creating a test user from root in the shell or checking what happens in the /home directory. I also haven't verified if the root user is functioning normally on the system. I'll follow your steps to perform these tests and let you know the results.

Regarding MySQL, I can access the MySQL root user successfully using mysql -u root -p. Is there anything specific I should check in this context?"**