usermod -g user group user name Set a user's group usermod -G user group user name Change a user to group(s) usermod -a -G user group user name Add users to a group (s)
Attach usermod instructions:
Description: Modify user accounts.
Syntax: usermod [-LU][-c <Remarks>][-d <Login Directory>][-e <Validity Period>[-f <Buffer Days> ;][-g <group>][-G <group>][-l <account name>][-s <shell>][-u <uid>][user Account]
Note: usermod can be used to modify the user account settings.
Parameters: -c<Remarks> Modify the comment text of the user account. -d login directory> Modify the directory when the user logs in. -e<expiration date> Modify the expiration date of the account. -f<buffer days> Modify how many days after the password expires, close the account. -g<group> Modify the group to which the user belongs. -G<Group> Modify the additional group to which the user belongs. -l<account name> Modify the user account name. -L Locks the user password to invalidate the password. -s<shell> Modifies the shell used by the user to log in. -u<uid> Modify the user ID. -U Unlock the password.
1. Get root privileges without logging in. If you dont set GRUB password, then we can use the easie
Download NetBeans Take netbeans-7.0beta2-ml-javaee-linux.sh as an example #sh netbeans-7.0beta2-ml-
STM32F103VCT6 comes with two 12-bit DAC, DAC conversion speed has not been found, some people say th
Among the many members of the MCU family, MCS-51 series MCUs occupy industrial measurement and contr
Analysis of malloc mechanism in Uclibc
User Management Security Settings in Linux System Tutorial
Find files older than 10 days in Linux and delete them
I2C device and driver association
Modify the X-Cache in Squid's Header to Powered-By-LinuxTone
Select function implementation principle analysis
After syslinux starts, it shows SYSLINUX 5.01H. Peter Anvin et al solves
Linux operating system installation jdk script
Linux remote file copy command: scp
Linux two simple alternatives to "peanut shell" software
After installing Win7, the boot prompt can not find hyldr in all drives how to solve
Virtual Server Implementation Method
Windows8 Start Screen Unpins the app from appearing on the start screen
Win10 new browser details exposure: new engine
Windows XP system installation apache+php+mysql
How to quickly restore the win 7 registry
Top 10 news in the technology industry in 2012: Windows 8 debut
In-Depth Analysis of Server Web Cache
How to open the ISO file to install the ISO file
Windows system security problem prevention and treatment talk