Sometimes when I am using Kali, and operating as root, I would like to be able to sign in to a website(for instance email) for various reasons. However, I have it in my head, that this is an unsafe thing to do while I am root user, and so avoid doing so. This can be inconvenient, as it means logging out and back in as normal user to do what I need to do. I must have read somewhere that it's unsafe to sign in online as root(to gmail/facebook/null-byte or anything... even through tor or something..). Is this correct? I guess I can imagine a few reasons why it wouldn't be safe, hence my reluctance to do so, but I would like to hear some educated opinions all the same. Thanks for reading..
Forum Thread: Signing into Websites While Operating as Root
- Hot
- Active
-
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
14 hrs ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 wk ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
4 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
4 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago
-
Hacking macOS: How to Perform Privilege Escalation, Part 1 (File Permissions Abuse)
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Dox Anyone
-
How To: Exploit Shellshock on a Web Server Using Metasploit
-
Hacking Windows 10: How to Dump NTLM Hashes & Crack Windows Passwords
-
Hacking macOS: How to Configure a Backdoor on Anyone's MacBook
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Create Custom Wordlists for Password Cracking Using the Mentalist
-
How To: Intercept Images from a Security Camera Using Wireshark
-
How To: Create a Persistent Back Door in Android Using Kali Linux:
-
How To: Crack Any Master Combination Lock in 8 Tries or Less Using This Calculator
-
How To: Run Kali Linux as a Windows Subsystem
-
News: 8 Wireshark Filters Every Wiretapper Uses to Spy on Web Conversations and Surfing Habits
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
3 Responses
try
$ whoami
root
$ su - user2
$ whoami
user2
It is unsafe to be operating as a root user all the time, if anyone gained access to your PC, that person would have root privileges already, without any escalation. Also, you're prone to making decisions or editing files that can break your system without the system telling you they're only for root i.e. protected. If you don't know why it is a bad thing to be operating as root online, then you probably shouldn't.
It is a common (and reccomended) Linux practice to use a limited access user all the time, and cast root commands preceding them with 'sudo'. If you're using backtrack/kali, make a limited user and make it your default login option.
Thanks both of you for the answers. I'm not too worried about doing damage to my own system as root, the only time I would be root for any lengthy period of time is on Kali, and I know enough not to make bad or irreversible mistakes. I guess the question I should really have asked was:
"How can I get around the inconvenience of having to log off root, and into a normal user profile, just to sign into websites?"
as I did figure it was a possibility to be giving someone an easy root access to my computer, if I got hacked in some way.
Elliot, I will look into that solution.
Share Your Thoughts