Linux batch create users, passwd, shadow, group management, groups, Gshadow, default profile login.defs, switch user su, elevate permissionsWhen a user runs a program in Linux, the permissions of the program belong to the current user, and the
Ifconfig eth0 192.168.1.223Switch to root accountStart is $ signInput SuEnter the root passwordConvert to # becomes the root accountDr View Drive letterls/etc/View the files under the ETC folderls/bin/View the files under the Bin folderLS
Second unit user Rights list1. Definition of permission listSpecify a record table that special users have special permissions on a file2. Recognition of permission lists-rw-rw-r--+ 1 root root Oct 21:20 file permission bit has plus permission list
I. File system Related:1, #pwd//display the current working directory. (Printing work directory)2. #cd [DIR]//Switch directory, (change directory)When the CD is not with the parameters, switch home directory,~: Representative Home directory,#cd
La la la la laFirst, install the softwareInstalled in the librarysudo apt-get Install * * *Package Installationsudo dpkg-i iptux.deb# View details of the Iptux.deb package, including software name, version, and size (where-I is equivalent
Edit File/etc/sysconfig/network-scripts/ifcfg-eth0 Reference: Device=eth0//device name, do not modify bootproto=static//Do not modify broadcast= 10.10.22.255//broadcast address, generally the last ipipaddr=10.10.22.145 of the network segment//IP
1. Mount the disc[[email protected] ~]# Mount/dev/cdrom/media/cdrom/mount:/dev/sr0 write protection, will be mounted as read-onlyThe CDROM directory under/media is created in advance.2. Modify Yum configuration file (file
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back,
1. Login with normal user firstSu-user12. Create a Directorymkdir/tmp/exploit/3. Use the ping command to create a hard linkLn/bin/ping/tmp/exploit/targetView Permissions[email protected] exploit]$ LLTotal 40-rwsr-xr-x. 2 root root 37928 Nov4.EXEC
2. User Rights list ***********# 1. Definition of permission List # #Specify a record table that special users have special permissions on a file# 2. The tube of the permission list Daniel #-rw-r--r--. Permission bit. Permission list is not
Original address: Http://www.cnblogs.com/ants/p/5732337.html#_label5Installing NginxCurl-o nginx.rpm http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpmRPM-IVH nginx.rpmYum Install NginxInstallation is
Start learning the Linux system today.Open the virtual machine, enter the password, the exciting picture will pop out--The main tone of Ubuntu is orange, which gives a feeling of stupidity, unlike Windows, which has only one taskbar on the left,
Linux server configuration load hard disk1. Change the passwordpasswd2. Test if the password is successful3. View hard Drive informationFdisk–l4. Formatting partitionsFdisk/dev/vdb5. View partitions6. Fast format/DEV/VDB1 to EXT4 formatMkfs.ext4/dev/
The title here is the System monitoring command, in fact, also includes some common system Information view (not performance information), so this article is divided into two pieces of content:System Information Class:This kind of information is
Today the discovery server on the Tomcat 8080 port does not come, the old prompt port has been occupied.Use the command:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover
1. Linux basic commandsWho, which, basename, dirname, echo, type, hash, Whatis, Makewhatis, Mans, info, help, LS, cd,pwd, mkdir, RmDir, Touch, RM, Date, Hwcolck, Cal, shutdown, reboot, TTY1 Who:show who was logged on, the print information about the
MAVEN's: http://maven.apache.org/download.cgiHere is an example of the latest version of 3.3.9, which requires that the JDK is already installed on the machine.--Create a Maven folder in the home folder, download the installation file Setup folder:
Linux cainiao diary (5) and linux cainiao DiaryDetailed syntax and configuration of iptables:
SNAT: source address conversionDNAT: Destination Address TranslationPNAT: port address translation
----------------------------------Iptables rule
Docker-4 Use of Dockerfile, docker-4dockerfileDockerfile
FROM basic image
MAINTAINER maintains this information
RUN
ADD some files to the file, copy the file, and automatically decompress
Current WORKDIR working directory
Mount the VOLUME
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