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

Git version control details

GitHub operation process: 1. Create a new code base $ git init $ git clone [url] 2. Create branch Administrator@UMMMZHE4GX4KT68 MINGW64 ~/Desktop/pythoncode/4.20/my.github.io (master) $ git checkout -b xxz Switched to a new branch 'xxz' 3. View status Administrator@UMMMZHE4GX4KT68 MINGW64 ~/Desktop/pythoncode/4.20/ ...

Posted by sader on Tue, 31 Mar 2020 03:51:02 -0700

Source code analysis of Binder native layer: sm's receiving and processing of data

We start with the main function of servicemanager main and binder & loop //\frameworks\native\cmds\servicemanager\service_manager.c int main() { struct binder_state *bs; bs = binder_open(128*1024); if (!bs) { ALOGE("failed to open binder driver\n"); return -1; } ...

Posted by x_maras on Sun, 02 Feb 2020 09:46:08 -0800

nginx problem list

nginx problem list Installation and Startup of nginx Configure nginx startup self-start: Open log for nginx nginx configuration syntax nginx configuration: role of server_name nginx log level access_log logs/access.log main; log_format main Resolve restart issues How to view compilation options wh ...

Posted by POG1 on Thu, 30 Jan 2020 17:06:05 -0800

Permission management under Linux

Permission management under Linux Permission management under Linux 1. How to view and read permission information [1]ls ls -l file Enter the specified directory ls -d dir View catalog itself ls -a dir All files contain hidden ls -S dir View and sort by size ls -s dir View file size T ...

Posted by rwcurry on Sat, 11 Jan 2020 23:27:14 -0800

Android several lines of code solve the problem of permission adaptation above 6.0

GitHub APK Copy the libray module to the project, or directly rely on the following in build.gradle: allprojects { repositories { maven { url 'https://jitpack.io' } } } dependencies { compile 'com.github.AnJiaoDe:Permission:V1.0.0' } Note: if sync reports an error, it is related to com.android.too ...

Posted by redking on Fri, 27 Dec 2019 10:35:48 -0800

Linux remote access and control

Prefacelinux operation and maintenance management is generally managed by remote mode. When hundreds of server hosts need to be managed from a workstation, the remote maintenance mode will be more advantageous.I. SSH Remote ManagementSSH is a secure channel protocol, which is mainly used to realize the remote management, remote replication and ...

Posted by nou on Sun, 24 Nov 2019 10:53:25 -0800

Jvm-Sandbox Source Analysis--Startup Analysis

Preface 1. Work reason, use jvm-sandbox more, then do source code analysis, to know each other, personal ability is limited, if there are errors, welcome to correct.2. About what jvm-sandbox is, how to install it, and how to move it Official Documents3. Source analysis is based on jvm-sandbox Latest master code, tag-1.2.1.4. The tentative plan ...

Posted by tomz0r on Sun, 01 Sep 2019 09:32:10 -0700

linux implements flexible special privilege management ACL, and ACL privilege judgment order!

Why use ACL? In linux, we can use "ll filename" to view the permissions of files. [root@Centos6 ~]# ll 1.txt ---x-wxr-x. 1 zhangsan zhangsan 9 Jul 19 13:47 1.txt [root@Centos6 ~]# getent group zhangsan zhangsan:x:522: [root@Centos6 ~]# chmod 770 1.txt [root@Centos6 ~]# ll 1.txt -rwxrwx---. 1 zhangsan zhangsan 9 Jul 1 ...

Posted by JAB Creations on Sun, 12 May 2019 00:54:54 -0700

AIX 7.1 Configure NFS Notes

Server AIX 7.1, address: 10.72.254.101 Client Redhat6 address: 10.72.254.198 Firstly, confirm that nfs service is running normally. (Services for nfs under Aix: portmap, nfsd, biod, rpc.lockd, rpc.statd, rpc.mountd) lssrc -s portmap # View portmap services lssrc -g nfs # View NFS services mknfs -N # Start nfs service star ...

Posted by gtibok on Fri, 29 Mar 2019 05:36:30 -0700