Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
19 Cards in this Set
- Front
- Back
how to change password ?
|
passwd
|
|
How to add an account called ‘MyAccount’ ?
|
adduser MyAccount # ‘passwd MyAccount’ will allow you to set initial password
|
|
How to remove an user ?
|
userdel # but this preserves his files.
|
|
How to remove an user and its files and folders ?
|
userdel -r user.name
|
|
How to lock a user account ?
|
passwd -l user.name
|
|
How to install sudo in a Debian system ?
|
su; apt-get update; apt-get install sudo;
|
|
Where is the file with the accounts on the system that are allowed to use sudo ?
|
/etc/sudoers
|
|
How to give sudo privile to an user ?
|
usermod -G wheel user.name # wheel is the group in sudoers file that has sudo privile. sudoers file has to be edited wheel is not active in general.
|
|
How to add a new group to the system ?
|
sudo groupadd group1
|
|
What groups do we have ?
|
/etc/group
|
|
How to add an user to a group ?
|
usermod -G group1 john
|
|
How to add an user to additional groups ?
|
usermod -a -G group1,group2 john #ATTENTION use commas as delimiter without space
|
|
How to change primary group membership ?
|
newgrp group1 #logged in as the user in question.
|
|
Where to find information about the password (in encrypted format) of the system's accounts and optional account aging information ?
|
/etc/shadow
|
|
How to add a new user to secondary group ?
|
useradd -G group.name new.user
|
|
How to add a new user to several groups ?
|
# useradd -G admins,ftp,www,developers jerry # ATTENTION no space after comma.
|
|
How to add a new user to primary group ?
|
# useradd -g developers tony
|
|
How to add a existing user to existing group ?
|
# usermod -a -G ftp tony
|
|
What is the graphical interface for group adm ?
|
system-config-users # in KDE
|