Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is nothing wrong with logging in as root on your own personal system as long as you are aware that you could easily break or wipe out your whole system if you don't know what you are doing and if you use programs that access the internet (firefox, skype, torrents, chat software) you increase the risk of malicious software taking over your system.
So if you don't have any valuable data on the system you are doing this, and you don't mind possibly having to reinstall your system, then it's not a problem, after all you learn best by trying things out!
It wouldn't break BECAUSE you login as root, its what you would do whilst you're logged in as root. Or, even if an application has a bug and goes nuts. Its all running as root.
Hi queen. I will explain clearly whats going on here
Quote:
1)creep@creepy-desktop:~$ su -
2)Password:
3)su: Authentication failure
4)creep@creepy-desktop:~$ su root
5)Password:
6)su: Authentication failure
7)creep@creepy-desktop:~$ sudo su
8)root@creepy-desktop:/home/creep#
In the first line, you are entering as su, which requires root password. May be you typed wrong so it gave you A.F
In fourth line, you tried to do the same and got the same result
In seventh line, you used sudo, which is the command to give root privileges for a while with ordinary user password and so you are given root access using your own account.
Very simple.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.