What should I do if Linux can t delete a user with urserdel?

Updated on technology 2024-02-09
12 answers
  1. Anonymous users2024-02-05

    The only way to do that is to try to log in with a single user to see if root can be recovered.

    If that doesn't work, you can only use the recovery disc rescue mode to repair the directory.

  2. Anonymous users2024-02-04

    View the permissions for the file by commanding: ls urs local debug -l

    View the user group for Apache: ps -ef |grep httpd

    In general, if you use vim to create a file, then only the user you log in to and the root user have full read and write permissions to this file, and the username and group of Apache are generally Apache, and then use Apache (that is, PHP) to open it, naturally use Apache as a user to read and write this file, naturally there is no permission.

    If you just want to test, you can change the permission: chmod 666 urs local debug

    If you will often create and change text in the future, the best solution is to use Apache or PHP to generate this file, and there will be no problem with permissions.

  3. Anonymous users2024-02-03

    The first command was unsuccessful because there was no shark user on the system, but his home directory was still there.

    The second command is unsuccessful because the user abc is currently logged in to the system and cannot be deleted.

  4. Anonymous users2024-02-02

    No, it won't. There could be two reasons for this:

    You wrote the wrong command, it should be userdel instead of urserdel, you may have deleted it and saw that the home directory is still there, thinking that the user did not delete it. Deleting the home directory can be performed with userdel -r.

    Finally, you just need to execute the id username If the prompt says that there is no such user, it means that it has been deleted.

  5. Anonymous users2024-02-01

    You misspelled the command, it should be: userdel

  6. Anonymous users2024-01-31

    Only administrative users cannot be deleted, with the net user username del

    Either you have only permission to modify.

  7. Anonymous users2024-01-30

    Comparison with Windows makes it easier to understand. Home is the "home directory", which corresponds to the folder of the currently logged in user in Windows, and since Win7, this folder has also been placed in the "Users" folder in the root directory of the C drive. Click on your login name on the right side of the Start menu, and the folder you open is the equivalent of Linux Home.

  8. Anonymous users2024-01-29

    The folder mkdir usr abc file vi usr abc goes into, and then save.

  9. Anonymous users2024-01-28

    If it is said to install the ISO system, it is not necessary to install it in the DOS environment, WinntSetup X86 is the easiest in the PE environment, as shown in the following figure;

    The first item in the above figure is to select the directory where the ISO system file is located;

    The second item in the above diagram is the boot drive;

    The third item in the above figure is to install the driver selectively;

    It is according to the third item"f"to format the installation drive;

    Press Start Installation, as shown below;

    It will be completed in a few minutes, as shown below:

  10. Anonymous users2024-01-27

    ISO files are disc image files that you can burn to a disc and then boot the installation system with the disc.

  11. Anonymous users2024-01-26

    Agree with the upstairs,In this case, you have to use PE,If you don't know how to make a U disk version of PE,You can also use the GHOST disc inside the PE (now many GHOST recovery system disks have PE),After entering,Use the virtual CD-ROM drive to load the ISO image to install the system。

  12. Anonymous users2024-01-25

    You have to use the U disk version of the PE system, and then use the U disk to boot it into the PE system, and then use the virtual disc to import your ISO file, and the boot disc can be installed.

Related questions
5 answers2024-02-09

centos:

The official version of >>>More

23 answers2024-02-09

Rainforest Wood Wind OS3 has not been used, but it is said to be a customized version of Ubuntu, and I use exactly Ubuntu. >>>More

3 answers2024-02-09

If the foundation is good, you can read the book directly and follow the operation. >>>More

4 answers2024-02-09

tar jxvf and then enter the directory that has just been extracted, and execute the following command. >>>More

9 answers2024-02-09

Detect the Linux system.

The following describes whether to enable the FTP server >>>More