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: Gaining Access into the Victim's Whatsapp on Android 12 Replies
3 days ago -
Forum Thread: Whatsapp Hack? 19 Replies
3 days ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
6 days ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
3 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
3 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
2 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
-
How To: Dox Anyone
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Use Ettercap to Intercept Passwords with ARP Spoofing
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Spy on Traffic from a Smartphone with Wireshark
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Make Your Own Bad USB
-
How To: Hack Wi-Fi Networks with Bettercap
-
How To: Hack Apache Tomcat via Malicious WAR File Upload
-
How To: Create a Persistent Back Door in Android Using Kali Linux:
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