[MySQL] account and permission management bitsCN.com
[MySQL] account and permission management
MySQL initial account management
The initial MySQL account is as follows:
[sql] [root
Abstract:1. Master the user's Add/delete/modify command 2. Master the group's Add/delete/modify command
Group Management
1) groupaddGroupadd is used to add group accounts. The format is as follows: groupadd [-g gid] group where: group: is the name of the group to be added-G: used to specify the GID. By default, add 1 with the largest gid. For example: add a new group leader # groupadd leader # grep leader/etc/groupleader: X: 504: # grep leader/etc/gsh
Organized from "Bird Brother's Linux private Dishes", collation: hua ke xiao tao http://www.cnblogs.com/hust-ghtao/An important part of the administrator's job is "manage accounts". Because the whole system is in your management, and all the general user's account application must be through your assistance! So you have to know how to manage a server Host account
the file or directory7. Set permissions for directories and files chmodSyntax 1:chmod [Ugoa] [+-=] [rwx] file or directory ... (+ 、-、 = Add, remove, set permissions respectively) (U, G, O, A are the main, group, other user, all users (sum of Ugo)) (the R,w,x permission character can be represented as a 8-character 4,2,1, which means that a combination of permissions is required to accumulate numbers; such as rwx= 7,rw-r-r=644)Syntax 22:chmod nnn file or directory ... (3-bit octal number)Common
User management in Ubuntu (1) User account there are usually three types of users in Linux: superuser, regular user, and systemuser ). The UID and GID of the superuser are both 0. The UID of a regular user starts from 1000. System...
User management in Ubuntu (1) user account there are usually three types of users in L
Sixth chapter user account and group managementSection I user classification
Super User Root:x:0:0:root:/root:/bin/bash
root
x
0
0
root"
/root
/bin/bash"
user name is root
x means has password
user ID
Comment for user
user home directory
The first
stop mssqlservre" in the command prompt to stop MSSQLServer (if it has been stopped, you can skip this method) 4. if 3 is faulty, an error is reported, you can choose "start"> "SQL Server"> "configuration tool"> "SQL Server Service"> "enable" SQL Server properties ">" advanced ">" startup parameters ", and add" -m5." to the installation parameters. The path of sqlservr.exe under "binn" is CD C: \ Program Files \ Microsoft SQL Server \ mssql10.mssqlserver \ MSSQL \ binn 6. execute sqlservr.exe,
This article mainly introduces the new account of MongoDB, the Rights Management (simple), and the login in Python,java and the default client.The default MongoDB is no account rights management, that is, do not need a password to log in, you can have read and Write permissions (of course, restart the service still nee
NameEncrypted passwd: encrypted passwordThird paragraph: When the password was last modifiedFourth paragraph: Minimum password usage periodFifth paragraph: Maximum password usage periodSixth: Number of warning days before password expirationSeventh: Number of days after password expirationEighth paragraph: Password usage periodEncryption algorithm:Symmetric encryption: Both encryption and decryption use the same passwordPublic Key cryptography: each password appears in pairs, one for the privat
root directly modify the general user's password can be
If the password is root is forgotten, we can use the boot into user maintenance mode and then modify
Two account management
1 can use Useradd to create a new user, the password is given using passwd this command can be
2 UID Specified value: When the system gives an account UID, it is the first referenc
Administrator's account number: The user group's account numberThe password column starts with! Indicates no valid password, so no user group administratorAccount Management New and deleted users: Useradd, related profiles, Passwd,usermod,userdelUseradd -Create a new user or update the default new user informationuseradd [Options] LoginUseradd-duseradd-d [Optio
BKJIA exclusive Article: Linux, as a multi-task, multi-user operating system, may be used by multiple users within the same period of time, and user management is directly related to the security of the entire system, users need to emphasize and protect password management and account file management.
Linux User
account after the new user is added, some initial configuration files are automatically created in the user's host directory. From the account template file "/etc/skel", the commands in the more commonly used initial profile:.bash_logout file will be executed each time the user exits the login. .bash_profile: The commands in the file will be executed every time the user logs on. The commands in the .bashrc
administrator is too busy, some accounts cannot find help when they want to join a project! In this case, you can create a [Group Administrator]! The Group Administrator gives a group an administrator who can manage the numbers that can be added to or removed from the group!# Gpasswd groupname: Give groupname a password/etc/gshadow# Gpasswd [-A user…] [-M user3,…] Groupname# *-A: Hand over the groupname's main control permission to subsequent users for mana
C # development portal and application (27)-Public Account template Message Management,
Through the template message interface, the public account can send messages of the preset template to users who follow the user's account. Template messages are only used to send important service notifications to users by public a
This article is also in the "MFC" with the dialog box switch implementation of the re-login "(Click to open the link) further work, but also to its further improvements, the last login is only to determine whether the user entered the user name and password is the admin and 123, this time using the file read and write to achieve user account creation, deletion and modification , no longer with the admin and 123 This
/home directory and the default shell (/bin/bash ).
No matter how many system administrators there are, there is only one super user account. A Super user Account usually refers to a root user who has full control over the system. The Super User is unique, and the UID and GID of the Super User are both 0. As follows:
Root: x: 0: 0: root:/bin/bash
By default, the Super User
Tags: where std address sid Rev. com View Super ExtUser account Management:' Username ' @ ' Hostname ' Username: Any combination of strings that can contain only the characters of the basic meaning, may contain "_", ".", "-"; Hostname: Can be FQDN (fully qualified domain name), domain name, IP address, You can use the MySQL wildcard "_" to represent any single character "%" for any number of arbitrary chara
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.