LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-20-2016, 05:53 AM   #61
alberich
Member
 
Registered: Apr 2016
Location: Bavaria
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled

The good thing with linux is, that if graphical boot (X Server or the subsequent services) fails, you can mostly switch to other consoles (Ctrl+Alt+F1/F2/F3...) and do a login in console.

There you can fix most problems that can be fixed or are worthy fixing (if the system can be rescued economically). What you often do, is check all the logs in /var/log with vour favoutite text editor (vim, nano).

At this early level of experience you will most probably have excessive trouble with that.

It is difficult to judge what changes you have done to your system. Did you delete system files with root acces? If you made complex and/or chaotic changes to the system, then just reinstall. Did you backup your files from /home/Tara? You can still maybe do that from console.
 
Old 04-20-2016, 07:04 AM   #62
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by apples45 View Post
Is there suppposed to be a "Guest" logged in while I am logged in, and my guest "TIM", is not logged in... please see upper right hand corner of screenshot. The two black check marks indicate me and some Guest are logged in right now. I can't find any access to this account, who it is, where they are... is this normal? This doesn't seem to be the same "guest" that is being explained to me as an entity required by the UNIX system to carry out a task, if I understand that correctly. This seems to be an actual unknown guest. Please correct me once again if I am still wrong.

Please note the attached screenshot.
Quote:
Originally Posted by apples45 View Post
i know the guest.
https://help.ubuntu.com/community/Pa...ssGuestAccount
Screenshot is of "fast user switching" (used to be called that), not necessarily a user "logged in".
It is my advice you become intimate with the Official Ubuntu Documentation
and have an installation method handy.

Stop chasing ghosts.

Last edited by Habitual; 04-20-2016 at 07:15 AM.
 
Old 04-20-2016, 07:30 AM   #63
alberich
Member
 
Registered: Apr 2016
Location: Bavaria
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled
Btw. if you had had sudo rights as "Tara" then you could have deleted the user Tim altogether.

Code:
sudo deluser Tim
Then he'd been gone for good in any case.
 
Old 04-20-2016, 08:47 AM   #64
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by alberich View Post
Btw. if you had had sudo rights as "Tara" then you could have deleted the user Tim altogether.

Code:
sudo deluser Tim
Then he'd been gone for good in any case.
Quote:
Originally Posted by apples45 View Post
a friend put this on my system to prevent a security breach.
Long shot, his name was Tim.
But the OP never answered my question?

Last edited by Habitual; 04-20-2016 at 08:48 AM.
 
Old 04-20-2016, 03:48 PM   #65
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Rep: Reputation: Disabled
waste of time, just get the normal distro (debian,slackware) and learn linux from beginning installing the system as a first step.
 
Old 05-09-2016, 02:06 AM   #66
apples45
Member
 
Registered: Mar 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
Slackware

Quote:
Originally Posted by przemo View Post
waste of time, just get the normal distro (debian,slackware) and learn linux from beginning installing the system as a first step.
i successfully reinstalled my OS. However, I am curious about slackware now. Can I install this along side ubuntu and can you recommend a novice training/tutorial for me to learn it? I am scanning several different tutorials for the ubuntu command line, but for whatever reason the commands aren't all working as indicated.

Someone had mentioned using a (forgive my ignorance) text editor? Is this for writing code in a simpler logistical manner and it translates it to the OS required code? Or is it something else, could you explain and recommend one if its advantageous.

Please

thanks-apples
 
Old 05-09-2016, 04:21 AM   #67
alberich
Member
 
Registered: Apr 2016
Location: Bavaria
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled
Quote:
Originally Posted by apples45 View Post
i successfully reinstalled my OS.
That is very good.

Quote:
Originally Posted by apples45 View Post
However, I am curious about slackware now. Can I install this along side ubuntu and can you recommend a novice training/tutorial for me to learn it?
It is possible. But you will be confronted with some issues, like how to partition, or rather repartition, your hard drive. You probably could get quite some headaches from slackware and multi-boot configuration at this early point in your linux career.

Quote:
Originally Posted by apples45 View Post
I am scanning several different tutorials for the ubuntu command line, but for whatever reason the commands aren't all working as indicated.
For example it is sometimes important if the tutorials are written for the very version of ubuntu you are using, and not (too) old versions. Aditionally it is possible that whatever software used in the tutorial might not be installed in your install. It is also easy to make typos when calling/recombining wanted command switches. Finally I think you can say it's normal that commands/linux sometimes don't seem to work as expected. In that case keep at it. Typical tutorials: http://www.slackware.com/install/
http://docs.slackware.com/slackware:beginners_guide

Quote:
Originally Posted by apples45 View Post
Someone had mentioned using a (forgive my ignorance) text editor? Is this for writing code in a simpler logistical manner and it translates it to the OS required code? Or is it something else, could you explain and recommend one if its advantageous.
I prefer using a graphical text editor like:
kwrite
gedit
kate
geany (lots of advanced features that might be useful especially much later)

The other option is using a command line text editor, like
vi
vim
emacs
elvis

These are a lot less convenient as you need to reas documentation and learn by heart short-cuts to perform very basic tasks - like saving a file. But it's not bad to get used to one of them too.

There are a bunch of text files that are used for system configuration in Linux. Many of which are stored somewhere in the /etc/ directory and below. Almost any program is configured in an own text file! With it's own way of config / syntax / switches. This manual configure is likely to be necessary occasionally in Ubuntu at some point, and very necessary in Slackware very soon.

To do that it is inevitable to read documentation, like "man pages", howtos, online documetations or references. Although some config files contain documentations themselves in form of "commented out" examples and comments in the config file itself (if one exits at all already for a certain purpose).

To change config files you need to start the text editors with super user rights. The graphical editors need be started with use of gksu, kdesu, xdg-su or something like that to achieve that. Or the console editors you start with sudo or sudo -i. Only with super user access you will be able to change and save a config file under /etc/. This is essential.

Last edited by alberich; 05-09-2016 at 04:24 AM.
 
1 members found this post helpful.
Old 05-09-2016, 05:02 AM   #68
apples45
Member
 
Registered: Mar 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
I notice Vi/Vim comprehension seems essential for understanding other systems down the road if that situation were to come up. I also noticed it was recommended to start with CentOS rather than Slackware for this reason. Debian was also mentioned, as was OpenSUSE. What's your recommendation? And please consider the online tutorials' propensity in schooling someone very new in this environment.

Also, what was your answer as far as installing another OS alongside Ubuntu in case I get overwhelmed with it all. I'm already experiencing negative feedback from humans seeing me glued to my laptop. I noticed when I reinstalled Ubuntu it gave me the option to install that way. I'm only inquiring about other systems because Ubuntu seems to get a bad rap since the GUI doesn't promote the command line interface reliance it seems that so many folks are looking for. The very thing I am starting to learn about. Do all of these distros use different coding language, if thats what its called? Is that what you are saying in the following?

Quote:
There are a bunch of text files that are used for system configuration in Linux. Many of which are stored somewhere in the /etc/ directory and below. Almost any program is configured in an own text file! With it's own way of config / syntax / switches. This manual configure is likely to be necessary occasionally in Ubuntu at some point, and very necessary in Slackware very soon.

To do that it is inevitable to read documentation, like "man pages", howtos, online documetations or references. Although some config files contain documentations themselves in form of "commented out" examples and comments in the config file itself (if one exits at all already for a certain purpose).

To change config files you need to start the text editors with super user rights. The graphical editors need be started with use of gksu, kdesu, xdg-su or something like that to achieve that. Or the console editors you start with sudo or sudo -i. Only with super user access you will be able to change and save a config file under /etc/. This is essential.
I didn't completely follow you. Could you try again to explain. I have noticed that the man pages give different commands than the tuturial I was following. I think it was for KDE and I have Gnome, so I think. There is so much information out there I am a little overwhelmed. I keepb bookmarking more and more sites with every issue (every line) I come across... I hope this is how one begins at any rate.

Thank you for your time
apples
 
Old 05-09-2016, 06:20 AM   #69
alberich
Member
 
Registered: Apr 2016
Location: Bavaria
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled
Vim is just a console text editor. Don't worry too much. Choose a linux that will work for beginners and that is configured by guiding the user. In the process of guided install the Distro will setup all underlying configuration files itself, so you don't need to get overwhelmed with manually setting up networking, etc., in config files.

Start with Mint, Ubuntu or OpenSuSE. I would prefer a desktop environments KDE, Mate or XFCE, and avoid Unity and Cinnamon. But whatever.

Setup your first install until it does everything you want. Just use it and get used to it fully for a year or so. Resolve all issues that might come up along the way.

Specific help you will find here or with specific documentations for every issue found with google.

Don't install Slackware or Debian in my opinion. Rather move to Debian or Slackware when you have more experience with Linux.

Last edited by alberich; 05-09-2016 at 06:21 AM.
 
Old 05-09-2016, 07:54 AM   #70
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Quote:
I am curious about slackware now. Can I install this along side ubuntu and can you recommend a novice training/tutorial for me to learn it?
The link below is to the Slackware site and is a very detailed tutorial on installing Slackware. Slackware is the oldest Linux distribution still in existence so they must be doing something right. You might bookmark the page below and after you have familiarized yourself with your Ubuntu install give it a try.

http://docs.slackware.com/slackware:install
 
Old 05-10-2016, 12:29 AM   #71
apples45
Member
 
Registered: Mar 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
What about installing a firewall. It seems complicated to set one up. And what are the advantages/disadvantages of using a VPN?
Please...
 
  


Reply



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
[SOLVED] just had my first virus ubuntu 12.04 phillipe8 Linux - Security 8 10-01-2014 09:39 PM
Do I need Anti-virus for Ubuntu? scottcasey Linux - General 15 09-23-2014 08:25 AM
I think I have a virus in Ubuntu dyess002 Linux - Security 17 09-12-2011 11:21 PM
Using Ubuntu, how likely can I get a virus..... if I try to get one. Chronothread Linux - Security 8 04-08-2009 04:32 PM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:03 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