Commands Test 1 Flashcards
How do you force updates on group policy?
gpuupdate /force
What command can we uses to get Sudo privileges?
usermod -aG wheel username*
Command to set hostname for jdrost?
hostname to set-hostname jdrost
Then
shutdown -r now
How to show who has passwords?
cat /etc/passwd
How do you copy an authorized key into the siguser folder?
On CMD enter the drive the folder is stored in:
C:> pscp keys\authourized_keys root@ipaddr:/home/siguser/.ssh
Identify pscp, file location, user+IP, folder to save under
How to change permissions?
chmod 777 /file path
How to install realm discover?
Sudo yum -y install realmd
How to discover a domain?
Sudo realm discover jdrost.domain
How to you connect to a windows adds in linux
Sudo realm join jdrost.domain
How to make siguser the owner of the authorized keys folder?
Sudo chown siguser:siguser authourized_keys
How to install vnc server?
Sudo yum install tigervnc-server
What are the other commands for vnc
Sudo systemclt
- daemon-reload
- enable vnc@:3.servive
- status vnc@:3.service