How to remove a user from Centos7?

elaine89

New member
Joined
Dec 17, 2019
Messages
2
Points
3
I'm having problem in removing a user from Centos7.. Anyone know how to do this?
 

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
1,196
Points
63
Delete the User
Using this command

Code:
userdel mynewuser
If you want to remove all of the files for the user, then use -r:

Code:
userdel -r mynewuser
I hope it helps.
 

tuxandrew

Well-known member
Joined
Aug 19, 2012
Messages
97
Points
8
How you are trying to remove the users?
Are you getting any specific errors while trying?
 

serveria

Member
Joined
Dec 7, 2019
Messages
36
Points
8
Centos 7 is a mess... hopefully Centos 8 will be better (more similar to Centos 6) :ROFLMAO:.
 

tuxandrew

Well-known member
Joined
Aug 19, 2012
Messages
97
Points
8
There are lot of changes in CentOS 7 compared to CentOS6 and older versions.
Systemd replaced init, kernel version updated,XFS replaced ext4,firewalld with iptables,Run levels to targets etc etc.

The problem is, it is not a quite good idea to stick on with older versions of Operating System distros for a long time. When ever latest versions comes in, the developer's will gradually stops working on the older versions and starts work on the latter versions. Then put the older versions to EOF 'End Of Life' after a specific terms of period, so the security updates , other kernel patching and major OS updates will be done mostly for newer version. Also the patches for current vulnerabilities with kernel as well as for other OS libraries will not be available for the older versions after a period of time.

Eventually major third parties softwares (like control panels etc.. )that we are using also will not support older OS versions due to security reasons, when the OS is at 'EOF ' status.

Finally it is forced to migrate the data to higher versions.
For these reasons, almost all companies always think to stay updated with newer OS versions.
 
Last edited:
Latest Threads

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top