LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-22-2017, 03:50 PM   #1
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
logged in as root


Hello,
just installed kali linux on lappy.
I wasnt aware of the threats of being logged in as root. But now that ik, iwant to fix it. Please help
 
Old 09-22-2017, 05:14 PM   #2
Zyblin
Member
 
Registered: Oct 2013
Distribution: Linux Mint 18.3 (64)
Posts: 178

Rep: Reputation: 20
These two links may be of help to you.

https://www.blackmoreops.com/2013/11...in-kali-linux/

http://linuxbsdos.com/2013/03/15/add...to-kali-linux/


The link below explains that it is not really noobie friendly and you are already aware of the dangers of running your system as root. I have been using Linux for decades now and I only allow root privileges when needed, not all the time.

https://docs.kali.org/policy/kali-li...ot-user-policy

But be warned. You are new and you may make mistakes, we all have at first. This is ok as long as Kali is not your everyday main operating system. If it is you may want to consider another, more noobie friendly distro to start with and learn from.

Last edited by Zyblin; 09-22-2017 at 05:18 PM.
 
Old 09-22-2017, 06:14 PM   #3
jmgibson1981
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 675

Rep: Reputation: Disabled
Ubuntu, or even Debian is a better place to start. People talk Kali all the time but most seem to think it will make them some elite hacker or something. It's a very specialized distro. Mint is a good choice as well, and wide compatibility as it uses Ubuntu repos.
 
Old 09-23-2017, 01:18 AM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 759

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Hi & welcome (I think) Did you notice the "sticky", prominently posted at the top of the posts in this forum? Sticky: Using Kali Linux? PLEASE READ!! ???!!!

Since you're probably 'just playing' and can easily reinstall, no need to worry.

But, rather that posting what's almost like: "What's linux?"
please take time to read&study a lot on the Wonderful Www Web

If you get stuck on a particular 'issue' where you can't find a solution on the web,
then carefully compose a question, with all necessary details to clarify.

You might also post in the IntroForum, to say 'hello' and tell a bit about your PC, internet connection, computer/OS/net experience, Linux interests/goals. Enjoy Linux!!!
 
1 members found this post helpful.
Old 09-23-2017, 08:45 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,916

Rep: Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015
Quote:
Originally Posted by kalinoob07 View Post
Hello,
just installed kali linux on lappy.
I wasnt aware of the threats of being logged in as root. But now that ik, iwant to fix it. Please help
You should probably start by actually reading the Kali Linux website...did you do that? From their own website:
Quote:
Originally Posted by Kali Website
The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.
As you were told, load Mint, Ubuntu, Fedora, or pretty much ANY other distro.
 
1 members found this post helpful.
Old 09-23-2017, 08:50 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Actually I'd like to praise our OP. Recognizing the dangers and trying to do something about it is commendable, in comparison to all wannabe hackers Kali users we see in the internet forums.
 
Old 09-23-2017, 09:25 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,916

Rep: Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015Reputation: 7015
Quote:
Originally Posted by Emerson View Post
Actually I'd like to praise our OP. Recognizing the dangers and trying to do something about it is commendable, in comparison to all wannabe hackers Kali users we see in the internet forums.
Agreed, but at the same time, just loading something without knowing ANYTHING about it isn't a good thing.
 
Old 09-23-2017, 10:08 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Yes, but it is human. I remember when I started I was given RH-5.0 CD by a friend. I could have said, no, let me search the Usenet, maybe there is something better for a newbie. And actually there was Mandrake, as a learned later. But in reality I installed RH-5.0 and started discovering it. And ... I ran it as root for at least two weeks because I grew frustrated fast with everything denied. So I'd cut some slack to newbies, everyone has to make first steps somehow. It is not easy to step in right direction if the land is uncharted for you.
 
Old 09-28-2017, 01:21 AM   #9
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
List contents of disk partitions

Thanks to u guys i have solved the root problem.

I have an sda with 1TB capacity. It has 13 partitions.
I want to view contents of each partition using terminal and delete some game files like nfsrivals from sda4.
please tell me the exact commands to do the same.

Last edited by kalinoob07; 09-28-2017 at 05:58 AM.
 
Old 09-28-2017, 04:13 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212
Quote:
Originally Posted by kalinoob07 View Post
I want to view contents of each partition using cmd and delete some game files
'cmd' is a windows thing, so you have to boot into windows, then press Alt+F2, then enter 'cmd'.
from then onwards i don't know.
i never use windows.
 
Old 09-28-2017, 05:59 AM   #11
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
'cmd' is a windows thing, so you have to boot into windows, then press Alt+F2, then enter 'cmd'.
from then onwards i don't know.
i never use windows.
sorry i meant terminal..switched to linux 1month ago so....
 
Old 09-28-2017, 07:14 AM   #12
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,655
Blog Entries: 3

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
You'll probably benefit from an introductory tutorial like this one:

https://ryanstutorials.net/linuxtutorial/navigation.php

There are some commands built into the shell, such as cd,pushd, popd. See the manual pages periodically so you learn how to navigate them properly.

Code:
man ls
man rm
man mv
man pwd
man bash
Watch out for that last one. Those are not a tutorials but reference works to be navigated. That's especially important to remember when dealing with the bash manual page. Or if you are using a different shell, such as zsh or ksh, then refer instead to those manual pages.

You'd also be doing yourself a favor by working with Linux Mint or Ubuntu as your base and adding the networking tools to that.
 
Old 09-28-2017, 07:36 AM   #13
Zyblin
Member
 
Registered: Oct 2013
Distribution: Linux Mint 18.3 (64)
Posts: 178

Rep: Reputation: 20
https://www.youtube.com/results?sear...asic+tutorials
 
Old 09-28-2017, 09:48 AM   #14
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
You'll probably benefit from an introductory tutorial like this one:

https://ryanstutorials.net/linuxtutorial/navigation.php

There are some commands built into the shell, such as cd,pushd, popd. See the manual pages periodically so you learn how to navigate them properly.

Code:
man ls
man rm
man mv
man pwd
man bash
Watch out for that last one. Those are not a tutorials but reference works to be navigated. That's especially important to remember when dealing with the bash manual page. Or if you are using a different shell, such as zsh or ksh, then refer instead to those manual pages.

You'd also be doing yourself a favor by working with Linux Mint or Ubuntu as your base and adding the networking tools to that.
the link doesnt contain the info on how can i view the contents of sda3 (inside "other locations")

yes you are right , i should have started with ubuntu or mint but , with due respect , now that i have installed kali , learning the basics from this os itself is much more feasible than installing ubuntu.
 
Old 09-28-2017, 09:56 AM   #15
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,655
Blog Entries: 3

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
*cough*cough*

Quote:
Originally Posted by kalinoob07 View Post
the link doesnt contain the info on how can i view the contents of sda3 (inside "other locations")
That would likely mean that you have to mount the partition first:

http://itc.virginia.edu/os/linux/mount.html

Then you'll want to look at the following, perhaps even the --bind option for mount.

Code:
man mount
man umount
man df
man du
And then see the previously mentioned utilities.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check who has logged on using root darwinianlo Linux - Newbie 5 08-09-2007 06:43 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
being logged in as root Smokey Linux - Security 6 09-06-2004 02:34 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration