CHMOD problems... Help!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CHMOD problems... Help!
# 1  
Old 07-14-2005
Network CHMOD problems... Help!

Hey.

I was playing somethink with chmods, and then i did chmod -R 755 / Smilie
so linux but with errors and sshd not working ....
Can some one give me proper chmods or better script that will do it.

pls help fast
# 2  
Old 07-14-2005
well, that probably made a lot of things unable to execute. For now I'd say to do a chmod -R 777 /, then restart and implement better security. If the linux box is on the internet, I'd suggest just taking it down until you are finished.
# 3  
Old 07-14-2005
aha. that so, but where can i get the defaults and that for all the stuff ?:\
# 4  
Old 07-14-2005
Actually, the stuff that has stopped working is not because of loss of execute permission. Execute permission is still very much there. The problem is that any programs that were setuid, setgid have lost those bit settings. Also, some programs wont run if the permissions on the binary are anything other than those that are required. (I think sshd belongs to this category. I have permissions on sshd at 500 BTW.)

The fastest way out would be to do an OS restore from the latest tape backup. Otherwise, get a box with the identical configuration and set the permissions on various files one by one.
# 5  
Old 07-14-2005
that is much work :\

is there any script for slackware 10.1 ?
# 6  
Old 07-14-2005
Thats a BIG maybe.. you could check on google, but dont keep your hopes on that.
# 7  
Old 07-14-2005
BTW (offtopic)
if i will need to reinstall linux distro, what is better Slackware or Ubuntu?

I never had ubuntu so iam asking u that Smilie

i need just console (no kde,gnome and that stuff).


Witch one is more secure, more stable...?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

chmod will not drwxrw----

If I: chmod 740 Documents/ Documents/ = drwxr----- If I: chmod 750 Documents/ Documents/ = drwxr-x--- How does that work? I want to achieve drwxrw---- (5 Replies)
Discussion started by: Kolusion
5 Replies

2. UNIX for Dummies Questions & Answers

chmod

Hi I tried to use chmod in unix to change my file's permission. chmod 701 hello.cgi And it did change my desired file's permission. Yet, the name of the file is changed to hello.cgi* . And therefore I cannot compile it after that. So, I just wondering why there is an extra '*' in the file's... (2 Replies)
Discussion started by: alvin8906
2 Replies

3. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

4. Solaris

chmod command

Hi, I want to create one user who has right to run chmod command in solaris, Any Idea? (7 Replies)
Discussion started by: manoj.solaris
7 Replies

5. UNIX for Dummies Questions & Answers

chmod for public_html ?

Hello! My web host has the public_html permission on my account set to 750. 1. Does this setting permit the world to use my submission forms (contained within contact.html and purchase_order.html)? 2. The "0" entry looks like it blocks the public from conducting all activity on my site.... (6 Replies)
Discussion started by: Texan
6 Replies

6. UNIX for Dummies Questions & Answers

chmod...

Hey everyone, I was wondering if there was a quicker way to chmod a lot of files than doing what im currently doing. At the moment, im doing chmod 777 *filename* - but I have a lot of files, sub-directories, sub-files etc etc. And at the moment I see I have to chmod every single file... (3 Replies)
Discussion started by: mo0ness
3 Replies

7. UNIX for Dummies Questions & Answers

CHMOD settings

Right, I'm really new to the UNIX stuff, and the main reason for posting is as follows: I am attempting to install postnuke on the local council webserver. for web server stats search for http://www.haybridge.worcs.sch.uk here and I am being asked to change the CHMOD settings for two of the... (3 Replies)
Discussion started by: womble
3 Replies

8. UNIX for Dummies Questions & Answers

chmod

Hi, can anybody help me? i have probable a simple problem about permissions. i have a server and on this server there comes some files from a another server via ftp with a separte user. i would like to modify the files with a awk script but i donīt have the permissions to modify the... (3 Replies)
Discussion started by: scotty
3 Replies

9. UNIX for Dummies Questions & Answers

Chmod Help!

Here is the deal, I am good with html and java and am creating a website for my brother. On this site he has chosen to use a ikonboard.com discussion board. I have done everything I can to pull it off, but no can do. Here is the problem: The site is being created using the angelfire... (12 Replies)
Discussion started by: xwfprez
12 Replies

10. UNIX for Dummies Questions & Answers

CHMOD Help!!

Ok, listen.........I was using FTP Works to remove and add some files to a domain server. I messed with chmod button and made it so that no-one could access or their browsers could execute files and 2 or three certain directories. If anyone knows how to use this command and will give me a heads up... (2 Replies)
Discussion started by: jarrell
2 Replies
Login or Register to Ask a Question