LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-29-2006, 03:05 AM   #1
ch485de
LQ Newbie
 
Registered: Nov 2006
Distribution: PCLinuxOS
Posts: 29

Rep: Reputation: 15
Error Starting Connection: Security Alert


My first posting.

I have looked at several LiveCD's and liked Knoppix and PCLinuxOS. However I have one problem common to all of them - I can't connect to my Network and Internet.

I have to use a PPPoE with User Name and Password to connect. Luckily all LiveCD's include RP-PPPoE on the CD. This offers exactly what I need but when I run it and enter User Name and Password every LiveCD returns the error:

Error starting Connection: SECURITY ALERT - Root (/) writable by group or other.

Does anyone know what I can do to correct this error? I did try fully installing Knoppix to HDD and running RP-PPPoE but I continued to receive the same error.

I have only found one exception - PCLinuxOS in it's Mini version run from a 512Mb SD card. Then I can connect to my Network/Internet using RP-PPPoE. However the Mini version is so limited it's unusable and I would rather use the full LiveCD installation.
 
Old 11-29-2006, 06:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Hello and welcome to LQ, hope you like it here.

I have to use a PPPoE with User Name and Password to connect. Luckily all LiveCD's include RP-PPPoE on the CD. This offers exactly what I need but when I run it and enter User Name and Password every LiveCD returns the error: Error starting Connection: SECURITY ALERT - Root (/) writable by group or other.

The check (it's not an application error) is in (rp-pppoe-$version/gui/)wrapper.c where it does a stat on the root directory "/" and proceeds to check the st_mode (DAC or "rwx" access rights) for writability by group (S_IWGRP) and other (S_IWOTH):
Code:
    /* Check root directory */
    if (stat("/", &buf) < 0) {
 // ...
    if (buf.st_mode & (S_IWGRP | S_IWOTH)) {
	fprintf(stderr, "SECURITY ALERT: Root directory (/) writable by group or other\n");
	return 0;
    }

Does anyone know what I can do to correct this error?
You can check for yourself what the rights on "/" are by running running (w/o outer quotes) "stat -c %a /".
It should return "755".
If not, run "chmod 755 /" to fix it.
 
Old 11-29-2006, 06:52 AM   #3
ch485de
LQ Newbie
 
Registered: Nov 2006
Distribution: PCLinuxOS
Posts: 29

Original Poster
Rep: Reputation: 15
Smile

Terrific answer. I understand it, but I'm not sure how to do it as I'm so new! However I'll try and if I get really stuck I'll repost here.
 
Old 11-29-2006, 08:24 AM   #4
ch485de
LQ Newbie
 
Registered: Nov 2006
Distribution: PCLinuxOS
Posts: 29

Original Poster
Rep: Reputation: 15
Entered the stat -c %a / command. Not 755!

Entered chmod 755/

It now works 100%.

Many thanks for the invaluable help.
 
Old 11-29-2006, 11:45 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Many thanks for the invaluable help.
Well, thanks for not running away :-]
Maybe I should have just posted "type chmod 755 / in your console as root account user"...
 
  


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
"Fatal IO error 104 (connection reset by peer)" stops Mandriva starting NoobDave Mandriva 9 12-31-2007 05:20 PM
starting ALOM: SC Alert: SC Request to send Break to host. xpucto Solaris / OpenSolaris 1 01-27-2006 08:31 AM
Security alert for 5/6/02 PostDeals Linux - Security 2 05-07-2002 09:11 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 12:48 PM
FYI (2/2): SANS Security Alert unSpawn Linux - Security 0 07-20-2001 07:42 AM

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

All times are GMT -5. The time now is 07:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration