?

Log in

No account? Create an account
Linux Community's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Saturday, April 24th, 2004

Time Event
1:56a
Aight, I gotta problem when it comes to security and my files. Tips would be good too.

What I use is PuTTY to connect to my SSH Host on campus so I can do either programming or changing permission rights. Normally when I log in, I change all ym PUBLIC/HTML files to '755' by chmod 755 *.* that way all my files in there will be open for everyone to view but not edit.

But one problem, I noticed when other people log in SSH (not many people do cuz they don't need to) they can actually exit out of there student folder and then 'cd' into anyones other folder. The thing is some can and some can't. For example:

/home/users/student/jrj5039(my_account)<-- This is where my standard files are
/home/users/student/jrj5039(my_account)/PUBLIC/HTML <-- this is where my HTML files are

well I could easily on someone elses login (to test my accounts security), go to 'cd' .. to get out of there CCID and then 'cd jrj5039' and then see all of there files (which would be mine)
Then they could actually 'cp' my files into there dir. NOT SAFE FOR ME!!!
How can I fix this?????????????

Also I noticed something insecure. When I go 'cd ..' out of my CCID to see everyone elses CCIDs I could log into (some are safe some aren't)
so I could easily do this:
cd ..
cd (some other ccid)
You dont have permission to view this directory
If i Got that above message i could do this
cd (that same ccid)/PUBLIC/HTML
and then acess everyones HTML file yet can't edit it... but there code is open to people.

How can I fix my PUBLIC/HTML dir too????

Thank you bunch -JoeR

Current Mood: anxious
2:24p
Live Linux CD - which one? ;D
I tried Knoppix recently and thought it was pretty neat, but I wanted to find something slackware based. I downloaded and tried Slax. I liked it, but I was wondering if anyone knows of another slackware-based live linux CD that they find better. I am currently downloading Stux to give that a try. Opinions? ;D
3:27p
Inverted wardriving...
The marvelous conundrum of the summer weekend is that most of the wonderful stuff that makes a geekish life worth living is evenly divided between two locations. Inside is the PC, the LAN, the broadband connection and the digital TV. Outside is the pool (deep thing, holds water), the sand (white stuff, doesn't hold water) and the members of your preferred sex (who come in various depths and are 98% water). YCMNBC.

To the end of having the best of both worlds,and in the interests of having my cake and eating it too: I want to set up an 802.11 connection that I can access from the complex' pool. I have line-of-sight to my apartment from the pool. I have a laptop. I run Linux on both ends. The distance is about 100 meters. I seem to recall a Pringle's Can antenna used for wardriving that might give me a connection suitable for an X11+OSD connection.

Any specific suggestions from someone who may have tried something similar? I have not yet purchased the 802.11 cards and so I'm also open to suggestions on those.

Qvacks?
6:03p
Piping to RM
I could have sworn there was a way to pipe output of a command to rm. I'm looking for a functional syntax of something like "slocate filename | rm -Rf". Oh, and I'm not looking for "a way to achieve the same results", I know several of them. I'm talking specifically piping to rm. Thanks in advance.

Current Mood: busy
6:13p
I'm trying to mount a CDrom created with a mac. I've been told it is hfs.

Why wont this work:

gutterman:/mnt/blah # mount -t hfs /dev/dvd /mnt
mount: block device /dev/dvd is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
or too many mounted file systems


I've tried it using a unique mount point:

gutterman:/mnt # mount -t hfs -o ro /dev/dvd blah/
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
or too many mounted file systems


but clearly I'm getting the same errors.

I'm running SuSE 8.2
9:47p
Finally got it up and running...
I just got Mandrake 9.0 up and mostly running on my presario 2570CA (laptop)(yeah, I hate presarios, but it had some great features at the time...). I'm just figuring out most of the configurations, and I'm starting to grasp most of the OS's concepts.

I like using a really stripped down and basic GNOME for a UI, at least for now that will work while I learn more of the system.

I don't like how it 'mis-interprets' CSS though, the LJ pages under the new style all get overlapped.

Things I still need to configure, though:
Acer Labs M5451 PCI South Bridge Audio
Wireless 802.11b card (forget the specs, and it isn't being detected, though I saw a page on the 'net where someone got it working...so thats in the works).

And I tried loading GRUB, but it won't boot up Win XP, so I think I'm going to have to use LILO.

I did a gentoo install also (stage 3). Compiling the kernel, and configuring the bootloader, et al were very informative...though ultimately, I could not get the ethernet running from the liveCD, so I couldn't get the XFree86 or windows systems going...which is why I just booted up Mandrake again. Once I learn more, or an update comes that will be more accommodating, I would like to go back to Gentoo to see what that is like.

Thats all though, anyone else have experience with a similar laptop?
11:34p
Holy Crap
Lately, my dedicated server has been running slowly, so I ran the "top" command, and apparently job "1396 vim" is using 99.9% of my CPU... I ran "kill 1396", but it's still running... suggestions?

23:30:46 up 44 min, 2 users, load average: 1.09, 0.68, 0.29
61 processes: 59 sleeping, 2 running, 0 zombie, 0 stopped
CPU0 states: 4.0% user 52.4% system 0.0% nice 0.0% iowait 42.4% idle
CPU1 states: 3.1% user 41.2% system 0.0% nice 0.0% iowait 55.0% idle
Mem: 513644k av, 228088k used, 285556k free, 0k shrd, 45228k buff
55228k active, 89272k inactive
Swap: 1044216k av, 0k used, 1044216k free 39244k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1396 root 18 0 2852 2852 1916 R 99.9 0.5 5:06 1 vim

<< Previous Day 2004/04/24
[Calendar]
Next Day >>
About LiveJournal.com