I can't logging in to Server 10.10.

Asked by Ozzy

I am using Server 10.10.
Root account is disabled, i am using admin as sudoers.
I wanted to change home directory privileges, and I typed a command mistakenly to root not to "home" directory.

"sudo chmod 700 /"

Server is running, but some of the services sending "forbidden access" .
Like www, FTP and e-mail servers.
DHCP and DNS servers running.
Admin and other users can't logging in, and loops back to Login secreen.
How can i correct this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
Ozzy
Solved:
Last query:
Last reply:
Revision history for this message
Ozzy (osmansancar) said :
#1

I restarted the server, and selected root login in recovery menu.
Then enabled password for root, and type a command;

chmod 777 /

Everyting looks normal, now.
But 777 privilige is a right chose for root directory?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

No its really not. Everybody who can get ANY sort of access, no matter how limited has 100% access to your files, as do any malicious javascripts or flash files. Your system has 0% security. I suggest you reinstall.

Revision history for this message
Tobias (ulbricht-tobias) said :
#3

I suggest, you do a
sudo chmod 755 /

which would be normal case.
And you should think about what you are doing. What else did you use "chmod" on? Do you know what the numbers mean?

google for linux+tutorial+file permissions

Revision history for this message
Ozzy (osmansancar) said :
#4

Yes I know Tobias.
And i am going to set permission of the root file to 755 instead of 777.
Thanks for help.

Revision history for this message
Ozzy (osmansancar) said :
#5

I set "/" as 755, and server works normal.
Also root is disabled again.