LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2015, 07:41 PM   #1
Monkeyma
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
Smile Can't log in to Linux after folder permissions change


Hi everyone...

I'm running a Debian Wheezy 7 installation. I recently changed the ownership of my "/tmp" folder and have not been able to log in since. Everytime I turn on the computer it boots normally up to the log in screen, however when I try to log in the screen turns off and on for about a second and returns me to the log in screen. I cannot log in. I have not made any other changes to the system other than the one I mentioned.

If anyone can help it'd be greatly appreciated! Please help.
 
Old 04-18-2015, 10:37 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Welcome to LQ!

From your description, I think you are booting to a graphical login screen. When you try to login, your /tmp permissions change is not allowing the GUI setup to write to the /tmp directory.
You could try booting to the login screen, hitting Ctrl-Alt-F6 to get a tty console, logging in as root and restoring permissions with 'chown root:root /tmp; chmod 1777 /tmp'. Hitting Alt-F7 should then return you to your graphical login and allow you to login normally.

Last edited by allend; 04-18-2015 at 10:46 PM.
 
Old 04-19-2015, 12:30 AM   #3
Monkeyma
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile

Thank you very much Allend, problem solved! I did what you said except I used <alt> <ctrl> f2 instead of f6.
 
Old 04-19-2015, 01:36 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Glad you got it sorted. Please use the Thread Tools button to mark this as solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change folder permissions kais1 Linux - Newbie 7 03-22-2013 10:21 AM
Change Linux Folder Permissions using Windows 2003 itguyla Linux - Newbie 0 01-07-2008 02:38 PM
how to change folder permissions in fc-6 chryslercirrus99 Fedora 3 06-07-2007 06:32 PM
Script to change folder permissions waitingforOES Linux - Newbie 1 03-07-2005 01:34 PM
Change folder permissions eggoz Linux - Newbie 2 03-17-2003 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration