Default Permissions - HELP !!!

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kalinik

Default Permissions - HELP !!!

Post by kalinik »

Hi everyone,
I'm a newbie and need some help.
I changed permissions to my home dir and some more dirs and now i CANNOT log in.When I start the Recovery mode it asks me for root login but don't know the password.I tried with my user's password but it says "login incorrect (or so)"
I know that I need to chown 644 my home dir but i can't login.
Plese help :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
proxima_centauri

Re: Need root login,HELP !!!

Post by proxima_centauri »

Is it possible to log on as user and "sudo" to do whatever you need?
kalinik

Re: Need root login,HELP !!!

Post by kalinik »

proxima_centauri wrote:Is it possible to log on as user and "sudo" to do whatever you need?
NO.
When I try to logon with my user = "Permission denied".
:roll:
With 2 words: I have a working system without user permission to login. :evil:
proxima_centauri

Re: Need root login,HELP !!!

Post by proxima_centauri »

Oh, thats what I get for speed-reading.

This was discussed earlier here http://www.linuxmint.com/forum/viewtopi ... t+password

This page was linked as a fix
http://www.ubuntugeek.com/how-to-recove ... buntu.html

hopefully that helps
kalinik

Re: Need root login,HELP !!!

Post by kalinik »

Thank You so much !!!
I was searching for solution too :)
I'll try these later beacause i have to go now.
Thanks again :wink:

MORE Problems (below) ...
Last edited by kalinik on Sun Jan 11, 2009 6:54 pm, edited 1 time in total.
kalinik

Re: Need root login,HELP !!!

Post by kalinik »

I was able to login with root BUT it's a total mess with the permissions
I can't login with my user account (permission denied /bin/bash) and i can't start X server
Is there some way to restore the dafault permissions to my system ???
proxima_centauri

Re: Need root login,HELP !!!

Post by proxima_centauri »

Exactly what files did you change permissions besides home?
For your /home folder

Code: Select all

sudo chmod 755 /home/username

Code: Select all

sudo chown username: /home/username
(replace username with your username)
kalinik

Re: Need root login,HELP !!!

Post by kalinik »

Yes, I changed the permissions to my home dir and now i see it BUT, I can't login.
I think besides my home dir is a TOTAL mess and even some devices (in /dev/...) cannot start because of that mess.
I screwed up things :) I'll try to restore some permission to default but it's some kind of "Mission Impossible" :wink:
Next is ... reinstall (if i can't get defaults) !
proxima_centauri

Re: Default Permissions - HELP !!!

Post by proxima_centauri »

What about creating a new user with root access?
kalinik

Re: Default Permissions - HELP !!!

Post by kalinik »

proxima_centauri wrote:What about creating a new user with root access?
I will do that, but there is many problems with files permissions :) ... like /dev/xxx/ (because they must be under 'tty' or something else ownership).For example when i start X under root account the mouse,printer,camera,audio and who know else DONT start.
I know there is many "system/internal" owners but I totally messed up things. :oops:
If there is some default permission settings it will be great, because I can't read about every specific ownership and search for this/these files to configure the whole system :roll:
proxima_centauri

Re: Default Permissions - HELP !!!

Post by proxima_centauri »

Yea perhaps it would be easier just to back up any relevant data and reinstall :(
There may be a way to reset system ownership but I'm not aware of it.
kalinik

Re: Default Permissions - HELP !!!

Post by kalinik »

proxima_centauri wrote:Yea perhaps it would be easier just to back up any relevant data and reinstall :(
There may be a way to reset system ownership but I'm not aware of it.
That's what I'm thinking about too :)
However I Will try to chown most of the system dirs and files and if i can't login normally i will reinstall later.
Many thanx to you !!!
Locked

Return to “Beginner Questions”