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: Changing IP Address 9 Replies
1 day ago -
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
1 wk ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
2 wks ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
1 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
1 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
3 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
3 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
4 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
5 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
5 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 Hack Wi-Fi: Build a Software-Based Wi-Fi Jammer with Airgeddon
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Exploit WebDAV on a Server & Get a Shell
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Target Bluetooth Devices with Bettercap
-
How To: Run Your Favorite Graphical X Applications Over SSH
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
Tutorial: Create Wordlists with Crunch
-
How To: Use SpiderFoot for OSINT Gathering
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
Android for Hackers: How to Turn an Android Phone into a Hacking Device Without Root
-
How to Hack Wi-Fi: Get Anyone's Wi-Fi Password Without Cracking Using Wifiphisher
-
How To: Automate Wi-Fi Hacking with Wifite2
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