How to add a user and grant the root permission in linux, linuxroot
1. Add a user. First, use the adduser command to add a common user. The command is as follows:
# Adduser tommy
// Add a user named tommy
# Passwd tommy // change the
Linux is a multi-user and multi-task time-sharing operating system.
UserYou must first apply for an account from the system administrator and then enter the system as this account. The user's account helps the system administrator
UserTracking and
Part 1:Http://www.bkjia.com/Article/201208/151763.htmlRootPermission SecurityConfigurationSudoSudo is secure and reliable only after careful configuration. The sudo configuration file is/etc/sudoers. You can edit this file to grant specific users
Document directory
Introduction to important Linux MySQL directories and logon passwords
Introduction to important Linux MySQL directories and logon passwords
Before giving you a detailed introduction to Linux MySQL, first let you know about
Linux is a multi-user multi-tasking time-sharing operating system, all of which use system resourcesof usersMust first request an account from the system administrator, and then enter the system as the ID of the account. The user's account can help
Linux is a multi-userTick Operations for tasksSystem, all one to use system resourcesof usersThe system administrator must firstApply for an account, and then enter the system as the account ID. The user's account can help the system administrator
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user name/etc/group file contains all groupsAll user names
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user name/etc/group file contains all groupsAll user names
OriginalLinux is a multi-userTick Operations for tasksSystem, all one to use system resourcesof usersThe system administrator must firstApply for an account, and then enter the system as the account ID. The user's account can help the system
This article summarizes some of the commands and parameters that are commonly used when adding or removing users and user groups from Linux. 1, build User: AddUser PHPQ//new PHPQ user passwd PHPQ//Set password for PHPQ user2. Build Working Group
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.