Professional Documents
Culture Documents
Server
Created @December 8, 2021 10:24 PM
Class
Type
Materials
Reviewed
chvt 1
chvt 2
chvt 3
chvt 4
chvt 5
chvt 6
or use [ctrl]+Alt+Fn
chvt 1 (GUI)
chvt 3
chvt 4
chvt 5
chvt 6
# chvt 6
// login from the tty6
# w
09:38:40 up 6:28, 5 users, load average: 0.14, 0.04, 0.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
student pts/0 192.168.1.4 06:15 0.00s 0.21s 0.09s sshd: student [priv]
student pts/1 192.168.1.7 08:42 0.00s 0.07s 0.03s ssh -Y student@192.16
8.1.7
root web cons ::ffff:192.168.1 08:47 0.00s 0.00s 0.01s /usr/libexec/cockpit-s
5.6 su -
prompt for password of the target user.
5.7 sudo
prompt for password of the current user.
Authorization through
/etc/sudoers
/etc/sudoers.d/*
visudo
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
$ ssh -Y student@192.168.1.7
The authenticity of host '192.168.1.7 (192.168.1.7)' can't be established.
ECDSA key fingerprint is SHA256:Y4JiU6rLkCiAaPftJFVbIaDz4sgMfU675Iz7/AE3M14.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.7' (ECDSA) to the list of known hosts.
student@192.168.1.7's password:
Web console: https://localhost:9090/ or https://192.168.1.7:9090/
Remember cockpit