LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 08: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, 11:37 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,685

Rep: Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571
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 11:46 PM.
 
Old 04-19-2015, 01: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, 02:36 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,685

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:21 AM
Change Linux Folder Permissions using Windows 2003 itguyla Linux - Newbie 0 01-07-2008 03:38 PM
how to change folder permissions in fc-6 chryslercirrus99 Fedora 3 06-07-2007 07:32 PM
Script to change folder permissions waitingforOES Linux - Newbie 1 03-07-2005 02:34 PM
Change folder permissions eggoz Linux - Newbie 2 03-17-2003 02:35 AM

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

All times are GMT -5. The time now is 10:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration