In This article we talk about user management related content, involving/etc/passwd,/etc/shadow,/etc/group three user account related files and the following user management related commands: Useradd, Usermod, Userdel, passwd, Groupadd, Groupdel, id,
In Linux operations, we use permissions to restrict a file or user,So what are the main powers?These are the three main categories that are common:U,g,oU=userG=groupO=othersName impliesU is User rightsG is the permission of the group to which the
Mainly aroundSyncShutdownReboot these instructions.Write data synchronously to the LED order on the hard disk: Sync: Save to the hard drive before shutting down. In fact, sync can also be used in general account! Only the average account user's
ECHO-E What this parameter e means in the Linux command.Echo–e "I'll use the" touch "command to create 3 files." What's the role of the parameter E here?The man help explanation is to allow the subsequent output to be escaped, assuming that you are
The entire process of installing FTP is documented, and it is helpful to have the same situation. "CentOS"1, inquire whether this machine installs Vsftpd:rpm-qa |grep vsftpd;2, install the FTP service yum install vsftpd;3, open the FTP service
Enter the command under Terminal ll to view the file information, we can get the following informationA string of letters in the first row, such as-rwxrwxrwx, represents different user-accessible permissions for a fileThe first-with the table is the
In the previous section, we mentioned that the memory interrupt vector table and interrupt service program are built by the BIOS in real mode, then it is necessary to use these interrupts to load the operating system kernel, this step has three
Command: Alias ll= "Ls-l"However, this command will be lost after logging back inIt can be saved in the. bashrc file in the user directory, but will not take effect until the user logs back in, and be careful not to return or use source ~/.
Settings for JDK environment variables under Linux (three ways to configure environment variables)
Settings for JDK environment variables under Linux (three ways to configure environment variables) ① Modify the/etc/profile fileThis
The overall startup process for the Linux system is as follows:POST-to -BIOS (Boot Sequence)--MBR (bootloader)--kernel + INITRAMFS (or INITRD)--Mount Rootfs (RO) --/sbin/init Set the default run level--use/etc/rc.d/rc.sysinit to initialize the
To create an account:Manual creation,1. Add a record to/etc/passwd2. Create a user home directory3. Set the default configuration file in the user's home directory4. Set User initial passwordCommand creation,Useradd or AddUser command creationTo
Sometimes we need the Linux system to automatically load some scripts or system services when booting up, mainly in three ways to do this:
Ln-s a soft link to the/etc/init.d/service in the/ETC/RC.D/RC*.D directory (* represents one of the 0~
Server side: RHEL5 (static IP 192.168.1.101)SOURCE Gentoo System: The Gentoo system on the server comes from it, and the build kernel is executed on this machine.Diskless client: The NIC is the AMD PCnet32 support PXE boot. The system is Gentoo on
Create a new partition for our Linux and use the FDISK command.First introduce the FDISK command, which is a partitioning tool. Use the following:
[[email protected] beinan]# fdisk /dev/sdacommand (MFORHELP): here Press M , will output
Spf13-vim installation and use, spf13-vim Installation and Use
I. Introduction
The spf13-vim is a release of Vim plug-ins and configurations, including a set of carefully selected Vim plug-ins, using Vundle for plug-in management, and can be
Shell script learning notes ----- shell variables, learning notes ----- shell
1. There cannot be spaces in the value assignment statement name = value. For example, the form of name = value is considered to be three variables, because, in essence,
Basic linux commands mkdirWhat is mkdir? mkdir is short for makedirectories and is a command used to create a directory in linux. 1. Command Format: mkdir [Option] Directory... 2. Command function: When mkdir is followed by the directory name, the
Linux Command sortThe sort command sorts all rows in the file. The sort command has many very useful options, which were initially used to sort the file content in the database format. In fact, the sort command can be considered as a very powerful
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service