To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
Slick
OMG don't touch the chair
Slick
384 Posts

Problem with Permissions/Firewall

I will start off by saying that I run mandrake 9.1. One day I decided I would secure my machine sence I had everything running from root with no firewall. First thing I did was make a new user called 'slick', his main directory is /home/slick. Then I moved all the folders of the programs I use from the root folder to /etc folder. I changed the folder permissions to slick. Be aware I am doing this all with teh GUI. After that I turned the firewall that it came with on, and opened up the ports that the programs use. Now for the problems


When I try to log into slick via the console it says

-bash: /etc/profile: Permission denied
-bash-2.05b$

Then I just type log out and it goes back to where it was before. I usually just log on root and log off and it then lets slick log on for some reason. Whats up here.

Now for the programs. Ventrilo server, BNC server, and tuxtime work without any problems but Folding@home isnt so nice. When I do manage to get slick logged on (It works sometimes, i dont know how i do it) it will not grab a work packet. I know it has before but it refuses to get a new one. I though this may be a firewall problem but I have the correct ports open, could anyone tell me what the right port is just to make sure.

Thanks in advance.
__________________ Taking over the world, one computer at a time. ~Slick
beatz
Icrontic Technician
beatz
77 Posts
Folding@home seems to be using port 8080 and if thats not working it tries port 80. At least thats what the people in this thread with a similar problem say:

http://forum.folding-community.org/viewtopic.php?t=3323
__________________ ( unzip; strip; touch; finger; mount; gasp; yes; umount; sleep )
[folding_sig1]
FoldingAddict
Folder
FoldingAddict
707 Posts
That's odd...if IE works then F@H should also work, because it defaults to port 80...but do make sure that 8080 and 80 are open for business.

~FA
__________________
mmonnin
Veteran Icrontian
mmonnin
10,545 Posts
You can make FAH use IE settings so it will go thru w/e port IE is using.
__________________ Stanford Team Stats_____________Team Short-Media
Statsman Team Stats______________EOC Team Stats
Slick
OMG don't touch the chair
Slick
384 Posts
Ok I opened port 80, port 8080 already was open. It grabbed a work unit, but this is what happend before, it finished a work unit then refused to grab a new one. I will get back here with what happens, and that could be a while as its only a 500MHz machine.
Rob
Icrontic Posting Maniac
Rob
339 Posts
When I try to log into slick via the console it says

-bash: /etc/profile: Permission denied
-bash-2.05b$

2 things come to mind...

First, try as root

chown -R slick:slick /home/slick (or whatever your home is)

If not, remove and readd the user. Could not have the correct bash files in the home. Either it cant read your home profile, or it doesn't exist.

userdel
useradd

You may still have to re-own the files, because the uid and gid will differ. ls -al shows who owns what.
Go Back   Icrontic Forums > Tech: Software > Operating Systems
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 3:12am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.