LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 05-20-2013, 09:22 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
Looking for Free Alternative to Ubuntu


I have been using Ubuntu and managed to get rid of the Unity desktop. However, I have now found that there are instances where files cannot be removed even by root. An example is /var/log/snort. This is unacceptable so I am looking for an OS that does not have this problem. I need an OS where root has full control over all files and directories. However, being of limited means I am looking for a free OS and would welcome recommendations.

Thanks,
Peter.
 
Old 05-20-2013, 09:31 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

I'm no great fan of Ubuntu, but I don't think the reasons you have stated for not using it are particularly valid. Are you interested in keeping Ubuntu if you could solve these perceived problems?

Evo2.

Last edited by evo2; 05-20-2013 at 09:32 PM.
 
Old 05-20-2013, 09:36 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
If snort is running you will not be able to delete the log file , it is being used .

Shut down snort first .
 
Old 05-21-2013, 03:23 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I would recommend opensuse or mint.
 
Old 05-21-2013, 12:11 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Snort is there to protect you, but if you don't like it, uninstall it.

But rather than have to replace Unity every time you get a new Ubuntu, wouldn't it be easier to get Mint? You get all of Ubuntu's software, any bugs in the installation disk are filtered out, and you get extra configuration tools.
 
Old 05-21-2013, 12:39 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,228

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by DavidMcCann View Post
Snort is there to protect you, but if you don't like it, uninstall it.
And don't forget to restart the logger after you delete the log file. It won't start logging again until you do.

(Why do you want to delete the logfile anyway?)
 
Old 05-21-2013, 12:46 PM   #7
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by OtagoHarbour View Post
This is unacceptable so I am looking for an OS that does not have this problem. I need an OS where root has full control over all files and directories.
If you're just looking to get root in Ubuntu, that's easy:

https://help.ubuntu.com/community/RootSudo
 
Old 05-21-2013, 04:27 PM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by OtagoHarbour View Post
I have been using Ubuntu and managed to get rid of the Unity desktop.
There's probably not much point in running 'buntu if you don't like the unity shell. Maybe switch to one of the KDE, Xfce or LXDE, spins or have a look for another distribution (plenty out there).
 
Old 05-21-2013, 04:53 PM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Why not go to the actual start of over 300 distros, including Ubuntu and Mint, and use Debian? If you are used to the Ubuntu (read Debian) system of working then use the original system and try Debian.
 
Old 05-21-2013, 05:04 PM   #10
mrlodgerules
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Arrow

Linux Mint feels very similar to Ubuntu
 
Old 05-21-2013, 06:13 PM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by OtagoHarbour View Post
This is unacceptable so I am looking for an OS that does not have this problem.
If snort is in fact running on the host, then you would not be able to rm /var/log/snort until you shut down the snort daemon.

Quote:
Originally Posted by OtagoHarbour View Post
so I am looking for an OS that does not have this problem.
The problem is not the OS.

http://www.manpagez.com/man/8/snort/
http://rute.2038bug.com/index.html.gz
https://help.ubuntu.com/community/CommandLineResources
 
Old 05-21-2013, 07:45 PM   #12
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by evo2 View Post
Hi,

I'm no great fan of Ubuntu, but I don't think the reasons you have stated for not using it are particularly valid. Are you interested in keeping Ubuntu if you could solve these perceived problems?

Evo2.
There is a lot to be said for "better the devil you know". While I don't like Unity, it has been easy to get rid of. The root permissions problem is my overriding concern. Would it exist in any Linux distro.?

Thanks,
Peter.
 
Old 05-21-2013, 07:47 PM   #13
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by John VV View Post
If snort is running you will not be able to delete the log file , it is being used .

Shut down snort first .
I restarted the computer and went into recovery mode. I still could not delete the files as root. I did find that

Code:
sudo chattr -i snort/*
enabled me to remove the contents of /var/log/snort although the i attribute did not appear to have been set.

However
Code:
sudo chattr -i snort
did not allow me to remove /var/log/snort itself.

Thanks,
Peter.

Last edited by OtagoHarbour; 05-21-2013 at 08:29 PM.
 
Old 05-21-2013, 07:49 PM   #14
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by H_TeXMeX_H View Post
I would recommend opensuse or mint.
I have used OpenSUSE and liked it a lot less than Ubuntu, even fatoring in Unity. I might look at Mint.

Thanks,
Peter.
 
Old 05-21-2013, 07:59 PM   #15
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by DavidMcCann View Post
Snort is there to protect you, but if you don't like it, uninstall it.
I had installed Snort but uninstalled it in order to install a later version. The installation did not complete, even using sudo, because of the files in /var/log/snort. I managed to remove the contents of /var/log/snort, as I described above, but not the directory itself. I was then able to run the installation of snort a bit further but I got error messages. Running

Code:
 sudo apt-get install snort
resulted in

Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  snort-doc
The following NEW packages will be installed:
  snort
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/473 kB of archives.
After this operation, 1,339 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 402348 files and directories currently installed.)
Unpacking snort (from .../snort_2.8.5.2-9.1_i386.deb) ...
usermod: no changes
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up snort (2.8.5.2-9.1) ...
 * Stopping Network Intrusion Detection System  snort                                                             *  - No running snort instance found
 * Starting Network Intrusion Detection System  snort                                                     [fail] 
invoke-rc.d: initscript snort, action "start" failed.
dpkg: error processing snort (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 snort
E: Sub-process /usr/bin/dpkg returned an error code (1)
Subsequently,

Code:
sudo snort -d -l ./log -c snort.conf
resulted in

Code:
ERROR: Unable to open rules file "snort.conf": No such file or directory.
Code:
sudo snort -d -l ./log -c /etc/snort/snort.conf
resulted in

Code:
ERROR: /etc/snort/snort.conf(45) Unknown rule type: ipvar.
Fatal Error, Quitting..
So it looked like the new version of snort was installed but the installation was incomplete.

Quote:
But rather than have to replace Unity every time you get a new Ubuntu, wouldn't it be easier to get Mint? You get all of Ubuntu's software, any bugs in the installation disk are filtered out, and you get extra configuration tools.
I have not updated to the newest Ubuntu (still use 11.10) because I am not optimistic that there will be any improvements.

Thanks,
Peter.
 
  


Closed Thread

Tags
distribution



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
Free alternative to Picasa? blueskin Linux - Software 4 05-15-2011 10:32 PM
Is there any good free alternative to flash ? ssvirdi Linux - Newbie 2 03-18-2011 02:54 PM
[SOLVED] Free alternative for Axceleon - EnFuzion Sheridan Linux - Software 6 05-11-2010 04:12 PM
LXer: The Free Software Alternative LXer Syndicated Linux News 0 05-29-2009 02:10 AM
Free CPanel Alternative newuser455 Programming 2 06-25-2005 03:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:11 PM.

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