Author Topic: New Account Failed  (Read 225 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New Account Failed
« on: December 03, 2024, 04:59:17 PM »
Have an idea ???  when I create a new account, this message appear ::::  Warning! User Account XXXXX not added !!!

using Almalinux 8


Offline
*****
Re: New Account Failed
« Reply #1 on: December 03, 2024, 09:26:05 PM »
Do you have a Package with limits set up and are assigning that to the new user?

Offline
*
Re: New Account Failed
« Reply #2 on: December 03, 2024, 10:33:27 PM »
Yes I create a Package for this user.. I proof with the old package (active in other users), not work too
« Last Edit: December 03, 2024, 10:35:22 PM by mabdala68 »

Offline
*
Re: New Account Failed
« Reply #3 on: December 04, 2024, 03:01:04 PM »
2024-12-04 02:12:33 CreateAccount_FAILED HOMEDIR_EXISTS:qwerty:qwerty.com    /// but the account not created !!

Offline
***
Re: New Account Failed
« Reply #4 on: December 04, 2024, 04:31:13 PM »
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)

Offline
*
Re: New Account Failed
« Reply #5 on: December 04, 2024, 04:42:04 PM »
"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
« Last Edit: December 04, 2024, 04:44:13 PM by mabdala68 »

Offline
*****
Re: New Account Failed
« Reply #6 on: December 04, 2024, 06:08:27 PM »
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.)

Offline
*
Re: New Account Failed
« Reply #7 on: December 06, 2024, 01:50:25 PM »
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?"**