Skip to content

Magenaut

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

root

Why are the first 1024 ports restricted to the root user only?

August 7, 2022 by Magenaut

This is more idle curiosity than anything else. A friend of mine asked me ‘which port range is it that only root can use under Linux?’ I told him 0-1024 were restricted. Then he asked my why it was so and… I was at a loss. No idea whatsoever.

Categories Q&A, Unix & Linux Tags networking, root, security, tcp Leave a comment

Should I disable the root account on my Debian PC for security?

August 7, 2022 by Magenaut

Your system is available on a network and you want to protect yourself against brute force attacks, so no one can guess your root account password.

Categories Q&A, Unix & Linux Tags debian, root, security Leave a comment

Get environment variable of other user

August 7, 2022 by Magenaut

Is there a way I can see the environment variable of an other user? I want to do that as root, so permissions won’t be a problem I guess. For the user himself, I use echo $PATH or set | grep PATH (or set when I don’t remember the variable name). What would be a … Read more

Categories Q&A, Unix & Linux Tags environment-variables, root, shell, users Leave a comment

What is the difference between root and superuser?

August 6, 2022 by Magenaut

Do they refer to the same thing or is root just a location in filesystem (its ultimate base) and superuser a privileged user (sort of equivalent of windows administrator account) ? Do they need the same password ? Is superuser the kernel itself?

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

What is the difference between using ‘init’ and ‘rd.break’ for reseting the root password?

August 6, 2022 by Magenaut

I know several ways to reset root user’s password, but want to know which is the best and why it is. For example:

Categories Q&A, Unix & Linux Tags password, root Leave a comment
Newer posts
← Previous Page1 Page2 Page3
  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