Etc directory there are two files under one passwd a grouppasswd GID is the primary group, the other groups are extension groups, and the extension groups are described in/etc/group.Useradd username if not specified, a GID with the same UID is created by default.Other groups can be added to other groups by-G when creating users, or they can be modified with usermod-g groupname username for existing users.For example, the primary group for User1 is 500, and the expansion group is
).
EXEC dbo. Usp_Recompile_TEST 130;
EXEC dbo. Usp_Recompile_TEST 500;
EXEC dbo. Usp_Recompile_TEST 506;
EXEC dbo. Usp_Recompile_TEST 507;
So execute the preceding SQL statement 130. we are sure that the temporary table # T will not be used to update the statistical information. will 501 trigger the update of the statistical information of the # T table? If it is not triggered, what is the exact value? The answer is 507, as shown below:
In centralized management, user management is important.
The following is my summary of Salt's document on user management.
1. Add a single user:
Generate Password
OpenSSL passwd-1-salt 'linwangyi'
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4B/BB/wKioL1QxLFmTKBXAAACFheOk6uo687.jpg "Title =" 1.jpg" alt = "wkiol1qxlfmtkbxaaacfheok6uo687.jpg"/>
User. Users File
[[Email protected] salt] # Cat user/useradd. SLS
Linwangyi:
User. Present:
-Fullname: linwangyi d
-Shell:/bin/bash
-P
@ xiaomazi ~] $ Cp/etc/fstab/tmp/--> note the identity of the file to which the file belongs.[Hadoop @ xiaomazi ~] $ Ls-l/tmp/Total 28-Rw-r -- 1 hadoop 921 Feb 26 fstab[Hadoop @ xiaomazi ~] $[Root @ xiaomazi ~] # Find/tmp-user hadoop/Tmp/fstab[Root @ xiaomazi ~] #
2). The file owner group is the file of the hadoop User:[Root @ xiaomazi ~] # Find/tmp-group hadoop/Tmp/fstab[Root @ xiaomazi ~] #
4. Search by UID/GID:-Uid-Gid GIDIf I delete a Fedora user without option-r, the user file will not be
The main idea is:
The following describes how to sort the topology of an AOV network:
1: select a vertex with an inbound degree of 0 (no direct precursor) from the AOV network and Output
2: delete the vertex from the AOV network and all edges from the vertex.
3: Repeat steps 1 and 2 until the vertex with an input degree of 0 is not found.
There are two kinds of Topology Sorting results according to the above method: one is that all vertices are output, that is, the entire Topology Sorting is co
/passwd We use cat to view this fileRoot:x:0:0:root:/root:/bin/bashBin:x:1:1:bin:/bin:/sbin/nologinLp:x:4:7:lp:/var/spool/lpd:/sbin/nologinSync:x:5:0:sync:/sbin:/bin/syncDingn:x:501:501::/home/dingn:/bin/bashWe first look at the first line of root, a total of seven items, each using: separate, they represent the following:account Name: Account name due to the corresponding user ID, this is the system defaul
Hash algorithm) secure hashing algorithm 160-bit fixed-length outputThird,/etc/groupFirst field group name second field password placeholder third field GID fourth field with this group as an additional group user list, multiple users separated by commascat/etc/grouproot:x:0:bin:x:1:bin,daemon...hao:x:500:guang:x:501:Iv. User Management1, Useradd (adduser) Add usersWhich Useradd/usr/sbin/useradd~]# ls-l $ (which useradd)-rwxr-x---. 1 root root 103096
@yans1 ~]$ ID Oracleuid=500 (Oracle) gid=502 (oinstall) groups=502 (Oinstall), 501 (DBA)[Oracle@yans1 ~]$ More/proc/sys/vm/hugetlb_shm_group0
Below, use root to add the DBA group to the system kernel by executing the following command:
# echo 501 >/proc/sys/vm/hugetlb_shm_group
Then start the database and the problem disappears.So what's the Hugetlb_shm_group group? Here is an explanation:Hugetlb_shm_gro
The password file, or password file, is used to authenticate users who manage through the network.
1. Local connection
By default, whether the instance is started or not, the database server local user logon to the database is validated by the operating system, that is, whether the operating system user that initiated the login belongs to the Oinstall group, and is acceptable
Log on, otherwise prohibited, and the database users and passwords used at logon regardless of the wrong database user
Based on the python2.7 version, crawl Baidu mobile phone Assistant (http://shouji.baidu.com/software/) Web site app data. Process flow Chart of crawler
The crawler process flowchart is as follows: Created with Raphaël 2.1.0
Start analysis address structure Get app category page URL crawl app detail page URL crawl App Detail page data save crawl data to JSON file end
Two, concrete steps
1. Parsing URL address structure
of the file (n default = 10)Head-n 1/etc/initab View Previous lineHead-n 2/etc/initab View first two linesTail viewing the following n rows of a fileTail-n 5/etc/initab
User group permissions6.1 UsersUser: A unique user ID (UID) is created for each person createdUID 0 is RootUID RH7 allocation starting from 1000 RH6 starting from 500PID Process Number#useradd-U 1003 zhangsan The UID of the specified userThe system only recognizes numbers, and people are identified by file names or syst
is installed, the database startup error: ORA-27125.The description of ORA-27125 errors in the Oracle document is:
ORA-27125: unable to create shared memory segmentCause: shmget () call failedAction: contact Oracle support
After a query, the problem found to be related to hugetbl on linux.The solution is also simple. First, check the oracle user group information:
[Oracle @ yans1 ~] $ Id oracleUid = 500 (oracle) gid = 502 (oinstall) grou = 502 (oinstall), 5
balance before transfer: 501Balance of account A after transfer: 400Balance of Account B after transfer: 101Total balance after transfer: 501
Run the second time:
Balance of account A before transfer: 400Balance of Account B before transfer: 101Total balance before transfer: 501Balance of account A after transfer: 300Balance of Account B after transfer: 201Total balance after transfer: 501
Perform the thi
types are calledEUID EGIDThat isValid UID and valid GID. The valid group exists for the process to access the file.
Most of our commands generate processes. The system uses euid egid to determine whether files can be accessed.
Before set, EUID = uid EGID = GID; after set, EUID is independent of each other;
Set UID will change EUID;
Set GID will change EGID;
[Seker @ stu254 ~] $ Id Zorro
Uid = 501 (Zorro) gid =
column, s represents the SUID permission. I run this command with michael, a common user. The process is as follows:
We can see that the command for the process in the penultimate line is passwd, but its USER is root. This is the SUID permission.
Next, let's get started with the setuid function. This is the description and return value of the setuid function:
If the request is successful, 0 is returned. If the request fails,-1 is returned, and errno is set to an appropriate value.
For
/10201/bin/relink all
14. RunIDTo view the ID of the Oracle user group.
Uid = 501 (Oracle) gid = 501 (oinstall) group = 501 (oinstall), 502 (DBA) environment = unconfined_u: unconfined_r: unconfined_t: s0-s0: c0.c1023
Add the DBA group to the system kernel (otherwise there will be a shared memory error in dbca), and the root user will executeEcho
The Oracle database is installed on the Oracle user in the Linux operating system.[GGS @ VM ~] $ Id Oracle
Uid = 500 (Oracle) gid = 501 (oinstall) groups = 501 (oinstall), 500 (DBA)
Now a new operating system user GGS is created on the local machine, which is in the same group as the Oracle user.[GGS @ VM ~] $ Id GGS
Uid = 501 (GGS) gid =
Long time no update, Today content NFSone. NFSIntroduction to NFSthe NFS full name is the network file systemNFS allows a system to share directories and files with others on the network.By using NFS, users and programs can access files on the remote system as if they were accessing local files. I. Installing and configuring NFS (server side)Two packages (Nfs-utils and rpcbind) need to be installed firstYum Install-y nfs-utilsYum Install-y RpcbindTwo. Configure NFSEdit Vim/etc/exports/HOME/192.1
total of three, so the blue beads also disappeared. Finally get the status of Figure 7. Note that the three yellow beads in Figure 7 do not disappear, because the blue beads disappear on one side of the purple beads, the other side is yellow beads, the color is different.In addition to the above situation, there is no other way to eliminate the beads. Now, we have a row of beads that need you to eliminate. For each round, you are free to choose the beads of different colors and shoot them in an
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.