Oracle apps dba workshop for all of you who are related Linux and Oracle. If you are looking for getting knowledge about oracle apps dba, oracle ebs and linux etc then you are in right place. Oracle apps dba workshop will provide info that is tested. whatever you are in beginner or advance level, you can follow this blog for increasing you knowledge in Linux and Oracle Apps DBA. You will find everything in step by step. So you can accept this blog as Oracle Apps DBA Workshop.
Thursday, January 17, 2019
How to delete a user in Linux | How to remove a user in Linux
How to delete a user in Linux
How to remove a user in Linux
To delete a user you must have root access. Then use this linux command
[root@reyaz ~]# userdel test01
Note: By using this linux command you deleted only the user not deleted the user home directory.
see below image that showing we used command to delete the user but user home directory still now present. It's not deleted.
To delete a user home directory you should use the linux command "rm -rf /home/test01"
Now see the below image.
In this above image there is no test01 user home directory.
Steps:
[root@reyaz ~]# userdel test01
[root@reyaz ~]# ls /home/
applmgr appsdba oracle oracle1 rhossan test01
[root@reyaz ~]# rm -rf /home/test01/
[root@reyaz ~]# ls /home/
applmgr appsdba oracle oracle1 rhossan
You can find me on Fiverr & LinkedIn
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment