The nature of creating users in linux
ref:
Parameters for the useradd command
/etc/default/useradd configuration file
/Files in etc/skel directory
Create a user manually
ref:
http://blog.csdn.net/ouyang_peng/article/details/8732928
http://blog.sina.com.cn/s/blog_6a58bdf40102v2zf.html
Parameters for the useradd command
[vincent@localhost ~]$ use ...
Posted by ghettopixel on Sat, 04 Apr 2020 15:03:48 -0700
Self-timer Tutorial 52 Python_adb Run Shell Script
Android, as a Linux terminal, must have run Shell scripts that support the.sh suffix.
Sometimes the test environment prepares or intercepts complex logs for a long time, and so on, the development will give you some Shell scripts.
Benefits of Shell script execution:
Quick and efficient, Shell scripts are supported on Linux terminals.
Since th ...
Posted by timvw on Sat, 04 Apr 2020 09:51:50 -0700
HTK 3.5 decoding tool HVITE stand-alone project (implementation of Visual Studio Code)
HTK3.5 supports DNN
HTK3.5 supports DNN, and originally wanted to make a model of HMM+DNN as a comparison of HMM+GMM.However, HTK does not support real-time HMM+DNN decoding.There are two reasons.
HTK does not support real-time calculation of the features of MFCC_0_D_A_Z, that is, the mean of the feature space cannot be calculated i ...
Posted by pieychpi on Sat, 04 Apr 2020 02:16:22 -0700
Record a journey of cc attack and modify it with ddos deflate
The beginning of the story, on March 30, is supposed to be a friendly business attack on the company's website.
The attack starts at 4 p.m. on the attack website, there is also Alibaba cloud ip in it. Angry. I want to complain.
Start to talk about how to solve it. First, use netstat -ntu | awk '{print $5}' | cut -d: -f1 | so ...
Posted by squizz on Fri, 03 Apr 2020 07:00:16 -0700
Pit filling: command line prompt is: - bash-4.1$
When adding users, which files will be modified?
New user's home directory template / etc/skel/
Case - the command line prompt is: - bash-4.1$
Solution:
Specify new user password rule / etc/login.defs
When adding users, which files will be modified?
/etc/passwd stores user information
/etc/group store ...
Posted by Pioden on Wed, 01 Apr 2020 13:58:52 -0700
python3 implementation of process monitoring with the same name in windows
python3 implementation of process monitoring with the same name in windows
The SVN service of the old SVN server of the company is often shut down unexpectedly. It needs to write a simple monitoring script to monitor it;
First, multiple SVN services use different ports. Use the wmic command to check the ports occupied ...
Posted by dud3r on Wed, 01 Apr 2020 10:03:26 -0700
(Oracle) custom call AWR
Oracle - > auto send AWR Report
September 21, 2016
09:31
Requirement Description:
Daily or regular manual use of AWR reports to check the status of Oracle database is not only time-consuming but also labor-intensive, requiring the use of scripts to automatically collect AWR reports.
Analysis scheme:
Script to collect AWR report: $o ...
Posted by DoomyCheese on Tue, 31 Mar 2020 21:18:39 -0700
mysql primary and primary data synchronization, hot standby
The principle of MySQL master master synchronization and master-slave synchronization is the same, except that both sides are master-slave roles.
Environmental Science
Operating system version: CentOS7 64 bitMySQL version: mysql5.6.33Node 1IP: 192.168.1.205 host name: edu-mysql-01Node 2IP: 192.168.1.206 host name: edu-mysql-0 ...
Posted by swampone on Mon, 30 Mar 2020 11:30:37 -0700
java executing bash script
Background
Soon after May 1, in order to cope with the online service outage, the leader arranged everyone to take turns on duty. But the server is deployed in the intranet. Even if you know that it is down and want to restart, you can't do without a computer. It's not feasible for us to take computers to travel on May Day. So ...
Posted by simply on Sun, 29 Mar 2020 08:07:18 -0700
Record an update of Mongodb database to array or object
It has been updated to some simple basic types until one day an update operation covering a certain field (this field is an array) was written. There is a problem. There is a problem in the database A little confused. Of course, if we set the type when updating, this problem will not occur. One of the preconditions for this problem is that we a ...
Posted by GroundZeroStudios on Sat, 28 Mar 2020 03:11:50 -0700