Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

root

Becoming root from inside Vim

August 9, 2022 by Magenaut

Sometimes I start editing configuration files in /etc using Vim, but forget to use sudo to start Vim. The inevitable result then is that after finishing my edits I encounter the dreaded notice that I don’t have the permission to save the file.

Categories Q&A, Unix & Linux Tags root, sudo, vim Leave a comment

Difference between sudo user and root user

August 9, 2022 by Magenaut

The /etc/sudoers file lists which users can do what with the sudo command The root user creates and modifies the /etc/sudoers file. This concept is difficult for me to understand. If all users having sudo privilage belong to sudoers group, then all of them can become root by giving the sudo su command. Then who … Read more

Categories Q&A, Unix & Linux Tags access-control, permissions, root, sudo, users Leave a comment

can’t ssh into remote host with root, password incorrect

August 9, 2022 by Magenaut

I have a remote host,
previously I can ssh into it with root and password

Categories Q&A, Unix & Linux Tags password, root, ssh, su, vpn Leave a comment

Why does reboot and poweroff require root privileges?

August 9, 2022 by Magenaut

What security risk is posed by not requiring this to have root privileges? The GUI provides a way for any user to shut off or restart, so why do the terminal commands need to be run as root?

Categories Q&A, Unix & Linux Tags reboot, root, security, shutdown, sudo Leave a comment

How does the power button shut the computer down without root permission?

August 9, 2022 by Magenaut

When I try to shutdown the computer from a command line or terminal I must have root privileges:

Categories Q&A, Unix & Linux Tags gui, root, shutdown Leave a comment

Is there a root password on OS X and Ubuntu?

August 8, 2022 by Magenaut

When you setup a new Ubuntu or OS X installation a user is generally created for you. On OS X it is whatever username you pick. On Ubuntu (the server version) usually the ubuntu user is created.

Categories Q&A, Unix & Linux Tags osx, password, root, ubuntu Leave a comment

Mounting from dolphin vs commandline

August 8, 2022 by Magenaut

I have been wondering how this is possible (i.e. how this works internally). When you want to mount a directory you have to be root.

Categories Q&A, Unix & Linux Tags arch-linux, dolphin, mount, root Leave a comment

Why doesn’t terminal show color schema once logged as root?

August 8, 2022 by Magenaut

I’m currently using Debian 7 Wheezy, and I’ve noticed that the colors palette on terminal (which might be useful to identify among a large set of files and folders) are not enabled once I log as root.

Categories Q&A, Unix & Linux Tags bash, colors, root, shell Leave a comment

Can I create a *super* super-user so that I can actually have a user that can deny permission to root?

August 7, 2022 by Magenaut

I was thinking that it might be advantageous to have a user with permissions higher than the root user.

Categories Q&A, Unix & Linux Tags permissions, root, sudo, users Leave a comment

Can root kill init process?

August 7, 2022 by Magenaut

Can root kill init process (the process with pid 1)? What would be its consequences?

Categories Q&A, Unix & Linux Tags init, root Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress