Foobar down
Moderator: Edi
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Foobar down
For the time being, due to a hardware upgrade, my server (foobar.homelinux.net) will be down. I've been having some trouble with the Linux setup it was running, since it was old and in desperate need of update; I was having a lot of DNS problems...
So in short, it'll be down for 2 days to a week while I get the new install on it and get the router working normally again.
So in short, it'll be down for 2 days to a week while I get the new install on it and get the router working normally again.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Fuck. I had it back up and running, but it looks like the main hard drive (a 2 gig Maxtor from 1998) has been responsible for all my hardware crashes lately; even the boot sector on the drive is fucked now, meaning that I can't even try to boot Linux. So, it's going to be permanently down until I can replace that goddamn hard drive.
Edit: I can boot Linux if I turn the computer off for a couple minutes and then turn it back on, but /etc/fstab got wiped out... *sigh*
Time to replace the hard drive.
Edit: I can boot Linux if I turn the computer off for a couple minutes and then turn it back on, but /etc/fstab got wiped out... *sigh*
Time to replace the hard drive.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Alright, I think I have the permissions problem with the server fixed now. Can everyone see my sig banner?
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Ghost Rider
- Spirit of Vengeance
- Posts: 27779
- Joined: 2002-09-24 01:48pm
- Location: DC...looking up from the gutters to the stars
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Huh. Now to see if I can make the directory indexes viewable (although, in hindsight, maybe having them unviewable isn't such a bad thing...)
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
That's set in your .htaccess file. I believe it's the "IndexIgnore" option. Of course, the first thing you obviously want to do is get rid of every default file in the /var/www/html directory.Crayz9000 wrote:Huh. Now to see if I can make the directory indexes viewable (although, in hindsight, maybe having them unviewable isn't such a bad thing...)
And if you want to get rid of index viewing in a particular directory, the easiest thing to do is simply make a dummy index.html file. Just for fun, you might make one that looks like a real index view but whose directory links lead to goatse.cx
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
![Image](http://www.stardestroyer.net/BoardPics/Avatars/500.jpg)
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Well, that explains a lot. See, I've tweaked the file permissions of /var/www/html so that they're owned by a special account that I use for local FTP access. That raised havoc with the server, however, but after adding apache to that user's group and running a chmod -R 755 it could serve the files.Darth Wong wrote:That's set in your .htaccess file. I believe it's the "IndexIgnore" option.
However, it seems that Apache can't write .htaccess files now.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
I don't see why you couldn't just leave apache as the owner of the directory. Anyway, I normally make .htaccess files as root, with 644 permissions.Crayz9000 wrote:Well, that explains a lot. See, I've tweaked the file permissions of /var/www/html so that they're owned by a special account that I use for local FTP access. That raised havoc with the server, however, but after adding apache to that user's group and running a chmod -R 755 it could serve the files.Darth Wong wrote:That's set in your .htaccess file. I believe it's the "IndexIgnore" option.
However, it seems that Apache can't write .htaccess files now.
![Image](http://www.stardestroyer.net/BoardPics/Avatars/500.jpg)
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Yeah, I know, my setup is a bit screwed up. I might change things back later, but anyway, I don't want to have to log in as root via FTP. Would simply adding the special account to the apache group fix that, if I change ownership of /var/www/html back to Apache?
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Only if group permissions are set to 7. But shouldn't you be using ssh and scp anyway, rather than ftp? SSH in as yourself and then su to root.Crayz9000 wrote:Yeah, I know, my setup is a bit screwed up. I might change things back later, but anyway, I don't want to have to log in as root via FTP. Would simply adding the special account to the apache group fix that, if I change ownership of /var/www/html back to Apache?
![Image](http://www.stardestroyer.net/BoardPics/Avatars/500.jpg)
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
I've been trying to get SSH working to no effect, and I have FTP firewalled anyway (not perfectly though, working on that...)
At any rate, the server is sitting five feet away from me, so it's not like I have a pressing need to have a root shell on it from my own computer.
At any rate, the server is sitting five feet away from me, so it's not like I have a pressing need to have a root shell on it from my own computer.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Personally, I keep root in the /etc/ftpusers file so that people can't use it from ftp, even though it's theoretically firewalled off. Just to be safe. If you can't get SSH working, that's a real problem. Check the error logs; new versions of ssh often require a user named "sshd" for privilege separation.Crayz9000 wrote:I've been trying to get SSH working to no effect, and I have FTP firewalled anyway (not perfectly though, working on that...)
Ah, then you might as well just leave the permissions at default then. I use SSH to get into my own server because I don't keep a keyboard and monitor hooked up to it.At any rate, the server is sitting five feet away from me, so it's not like I have a pressing need to have a root shell on it from my own computer.
![Image](http://www.stardestroyer.net/BoardPics/Avatars/500.jpg)
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
Aha. I'll have to check for that.Darth Wong wrote:Personally, I keep root in the /etc/ftpusers file so that people can't use it from ftp, even though it's theoretically firewalled off. Just to be safe. If you can't get SSH working, that's a real problem. Check the error logs; new versions of ssh often require a user named "sshd" for privilege separation.
And, yes, I do have root in the ftpusers file, as well as my main shell account (don't really need to log into it remotely anyway). I've also locked the ftp account down rather drastically.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Arthur_Tuxedo
- Sith Acolyte
- Posts: 5637
- Joined: 2002-07-23 03:28am
- Location: San Francisco, California
ACK! No no no, I accidently hit index view all the time on my browser, that would be very bad.Darth Wong wrote:And if you want to get rid of index viewing in a particular directory, the easiest thing to do is simply make a dummy index.html file. Just for fun, you might make one that looks like a real index view but whose directory links lead to goatse.cx
"I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark." - Muhammad Ali
"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong
"Dating is not supposed to be easy. It's supposed to be a heart-pounding, stomach-wrenching, gut-churning exercise in pitting your fear of rejection and public humiliation against your desire to find a mate. Enjoy." - Darth Wong