This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vi /etc/pam.d/su |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| visudo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cmnd_Alias DISALLOW = /usr/bin/passwd, /sbin/service, /bin/kill,/usr/bin/kill, /sbin/chkconfig, /usr/bin/systemctl, /sbin/ifconfig, /sbin/halt, /sbin/shutdown, /sbin/poweroff, /sbin/reboot, /sbin/init, /sbin/iptables, /usr/bin/killall, /usr/sbin/visudo, /bin/chown,/bin/chgrp,/sbin/modprobe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| username ALL=(ALL) ALL, !DISALLOW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| username ALL=(ALL) /usr/bin/systemctl, /sbin/halt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo dnf update -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hostnamectl status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Static hostname: localhost.localdomain | |
| Icon name: computer-laptop | |
| Chassis: laptop | |
| Machine ID: 1e3c9dfae7024b64be8c6ddb03370379 | |
| Boot ID: 62146c44bb434ce6b294281dbfe03c25 | |
| Operating System: Fedora 24 (Workstation Edition) | |
| CPE OS Name: cpe:/o:fedoraproject:fedora:24 | |
| Kernel: Linux 4.5.5-300.fc24.i686+PAE | |
| Architecture: x86 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # hostnamectl set-hostname “yourhostname" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Static hostname: wdekstar | |
| Pretty hostname: “wdekstar” | |
| Icon name: computer-laptop | |
| Chassis: laptop | |
| Machine ID: 1e3c9dfae7024b64be8c6ddb03370379 | |
| Boot ID: 62146c44bb434ce6b294281dbfe03c25 | |
| Operating System: Fedora 24 (Workstation Edition) | |
| CPE OS Name: cpe:/o:fedoraproject:fedora:24 | |
| Kernel: Linux 4.5.5-300.fc24.i686+PAE | |
| Architecture: x86 |
OlderNewer