Admin... by accident!

You may have chosen to be an admin. I didn't!

  • Home
  • FreeBSD
  • GNU/Linux
  • Security
  • Network
  • Virtualization
  • Politics
  • Github
  • Donate
  • Me

The root account

April 23, 2017 by Albert Valbuena

Users. What the hell you mean by “root”?

Are you a Windows user? I bet you have the user account badly configured. By default Windows is installed under the Administrator account. And nobody bothers to change this and add a second account. That second account should be an underprivileged one. If you own the computer you always know the Admin´s password, so anytime you need it (aka installing software) you can type it and still be using a less privileged account. Why is this important? Well… how many hacks could’ve been stopped just because the account in use weren’t the Admin’s but a regular user one?

Running any computer device with all its power unfolded is not the most secure way to do things. If you happen to miss type something, click on the wrong option, etc you can cause damage on the system. And if any malicious attack gets into the Admin user it can be utter harmful. If you are a Mac user, or a Windows 10 user, you may have wondered a few times why the system asks for your password for some tasks and not for others. This is to prevent creepy things happening to your computer and the user lack of knowledge. These systems have built a way for your “normal” user account to escalate privileges up to the superuser account (read root) and do whatever you want to the system.

In the UNIX world the root account is the more or less equivalent as the Administrator account in Windows. In the FreeBSD installation in particular, when a new user is added a question about what group should that user be added to appears. The group for you should be the wheel group. The ones in the wheel will be able to escalate their privileges and become root for certain tasks at certain times. The rest of the time they will be regular users. If you happen to be a GNU/Linux user it’s pretty easy you’re an Ubuntu user. The root account is locked in a similar fashion to the Mac or Windows. You can only become root if you ask for it and introduce your password account. Other distributions such as Debian (Ubuntu is a Debian derivative) allow you to have a non-locked root account as in commercial UNIX or FreeBSD.

For deeper knowledge on this topic there is lots of literature. And the FreeBSD handbook is an excellent starting point.

If you find the articles in Adminbyaccident.com useful to you, please consider making a donation.

Use this link to get $200 credit at DigitalOcean and support Adminbyaccident.com costs.

Get $100 credit for free at Vultr using this link and support Adminbyaccident.com costs.

Mind Vultr supports FreeBSD on their VPS offer.

 

Filed Under: FreeBSD, GNU/Linux

Recent Posts

  • How to install Redis for WordPress on FreeBSD
  • How to compile cloudflared in FreeBSD 13/14
  • How to configure FreeBSD to use a webcam (version 12 and 13)
  • Symbolic and Hard Links in UNIX and Linux
  • How to import iocage jails to Bastille on FreeBSD 13
  • How to load and unload kernel modules in Linux
  • How to use find in GNU/Linux and FreeBSD
  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel
  • How to use Cloudflare’s Argo Tunnel service to publish a website on FreeBSD 12/13
  • How to setup MariaDB master-slave replication on FreeBSD
  • How to upload a FreeBSD custom image on DigitalOcean
  • How to install Drupal 9 on FreeBSD 13.0
  • How to manage site visitors based on IP Geolocation
  • How to enable Geolocation in AWStats on FreeBSD 13.0
  • How to install AWStats on FreeBSD 13.0
  • How to configure Modsecurity 3 for WordPress on FreeBSD
  • How to configure Apache HTTP with a TLS reverse proxy backend on FreeBSD
  • How to detect a WAF – Web Application Firewall

Archives

  • November 2024
  • October 2024
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • January 2023
  • December 2022
  • April 2022
  • March 2022
  • October 2021
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • November 2017
  • April 2017

RSS Admin… by accident!

  • How to install Redis for WordPress on FreeBSD
  • How to compile cloudflared in FreeBSD 13/14
  • How to configure FreeBSD to use a webcam (version 12 and 13)
  • Symbolic and Hard Links in UNIX and Linux
  • How to import iocage jails to Bastille on FreeBSD 13
  • How to load and unload kernel modules in Linux
  • How to use find in GNU/Linux and FreeBSD
  • How to install Mate on FreeBSD 12/13
  • How to install Nessus 10 on FreeBSD 12
  • How to enable TLS traffic from the origin server on Cloudflare Argo Tunnel

Copyright © 2025 · Magazine Pro Theme on Genesis Framework · WordPress · Log in