Skip to content

Instantly share code, notes, and snippets.

View dennisotugo's full-sized avatar
🎯
Focusing

Dennis W. Otugo dennisotugo

🎯
Focusing
View GitHub Profile
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
username ALL=(ALL) ALL, !DISALLOW
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
# hostnamectl set-hostname “yourhostname"
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
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'