Tag:Ordinary users

  • I’m garbage 02: protocol handler start failed caused by:

    Time:2021-4-14

    Recently, when using MAC to start the project, it was found that an error was reported Protocol handler start failedCaused by: java.net.SocketException: Permission denied After inquiry, it was found thatLinux does not allow ordinary users to bind to TCP ports < = 1024 \. There is a reason for discussion [here](https://unix.stackexchange.co…)。 You tried to bind […]

  • Configuring arch Linux with wsl2

    Time:2021-4-6

    This article comes from my noteshttps://github.com/levinit In the following, the windows commands are executed in either PowerShell or Windows terminal (recommended, which uses PowerShell by default). Enable wsl2 Enable hyperv Enable subsystem for Linux Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform Home version enables hyperv and creates a bat file, such as hyperv.bat The contents are as follows: […]

  • Linux privilege management (3) set uid privilege, set GID privilege, sticky bit privilege, chatr privilege

    Time:2021-3-17

    Suid permissions, sgid permissions, sbit permissions are extremely unsafe permissions, here is just for learning, try not to set these permissions in the production environment! 1、 Set uid permission (suid permission) 1. Restrictions and functions of set uid permission Only executable binaries can set suid permissions(Invalid for normal shell scripts) The command executor has the […]

  • Mongodb primary series 1: users and permissions

    Time:2021-2-27

    preface For databases, users and permissions are a very important part, because it involves security. What about mongodb users and permissions? explain Environmental description The version of mongodb used in this paper is 3.6, and the operating system is windows. Other instructions Limited to space, this article will not introduce the database from download to […]

  • Building Linux subsystem in win10

    Time:2020-10-23

    The Linux subsystem of win10 is called WSL (Windows subsystem for Linux). The advantage is that the Linux system and windows system are connected, and the isolation phenomenon of the two systems caused by the traditional virtual machine / dual system is changed. The disadvantage is that it is not stable enough, but it is […]

  • Linux view server brutally crack SSH IP

    Time:2020-10-6

    On the server of public network, you often encounter someone to blow up port 22 of your server, which is used to mine or do other things~ In this case, the correct way is to: Modify the default SSH port 22 Log in using set key or whitelist IP It is recommended that the server […]

  • Linux multi user file sharing

    Time:2020-5-9

    Linux file permissions are divided into main permissions, group permissions, other user permissions and special permissions. special competencies s: Setuid: when a user executes a file with s permission, it will execute as the owner. Eg: when a normal user executes passwd to modify the password, it will execute through the owner of passwd, that […]

  • Special permissions for files in Linux (setuid / setgid / sbit)

    Time:2020-4-7

    1.SetUID 1、 Functions of setuid Setuid mainly provides a root permission for commands, that is, the command runs with root user permission, and the root permission disappears after the command runs 1. Only executed binary program can set suid permission 2. The command executor should have X (execute) permission for the program 3. Command the […]

  • Third party software g6ftp rights

    Time:2020-2-29

    step 1. Download configuration file takeadministrator 2. make use ofLCX port forwarding only allows local connection by default 3.lcx.exe -tran 8027 127.0.0.1 8021 4. Use client to log in as administrator user 5. Create users and set permissions and execute batch files 6. Upload batch processing 7. Create normal user loginftp 8. Execution of orders […]

  • Bash SHELL file management

    Time:2020-1-2

    Bash shell manages files ========================================================Create, copy, delete, move, view, edit, compress, find Summary:Linux directory structureFile location pathfile management 1、 Linux directory structure Windows: organizing files in a multi root way C: \ D: \ e:\Linux: organizing files as a single root/ /Directory structure: FSH (filesystem Hierarchy Standard)[[email protected] ~]# ls /bin dev lib media net root […]

  • user management

    Time:2020-1-1

      user management ========================================================groupadd,groupdeluseradd,usermod,userdelpasswd,chage 1、 Basic concepts of users / groupsUsers and groups:. Every process (running program) on the system runs as a particular user.. Every file is owned by a particular user. . Access to files and directories are restricted by user. . The user associated with a running process determines the files and […]