LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-15-2006, 01:21 PM   #1
Malacandra
Member
 
Registered: Jul 2004
Posts: 44

Rep: Reputation: 15
"GDM cannot write to your authorization file...etc"


There are several posts which ask this question, so I'll post my own problem and solution and hope a search will help someone!

I meant to delete all of the files in my /tmp directory but actually ended up deleting the whole directory.

When I rebooted, I got the message "GDM cannot write to your authorization file...etc"

I knew by using the df command that my partitions were not full.

Some other posts mentioned something about permissions.

That got me thinking: perhaps my user login was trying to write to /tmp but that directory had been recreated as root! Sure enough!

Solution: Using a terminal as root, type:
chmod 0777 /tmp

This gives GDM permission to write to the /tmp directory when you log in as a mere user.

Note that this will only work if you have an active root account. If not, you may have to log in at a failsafe terminal (rescue mode from Grub) and do it from that command line.
 
Old 02-16-2006, 10:18 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you have a multi-user system can I suggest that you run the following to stop users being able to delete each other's files:
Code:
chmod -c 1777 /tmp
 
  


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
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
GDM could not write to my authorization file ?&*%$^ carlos1 Linux - Newbie 4 09-09-2005 12:55 AM
SuSE update caused "Unknown AUTHORIZATION state command" StigIrish Linux - Networking 1 05-06-2005 10:51 AM
Grip- "no write access to write encoded file" Alvis Linux - Software 4 01-06-2004 04:18 PM
"E297: Write error in swap file" :-( sudhir_gunda Linux From Scratch 2 12-29-2003 01:41 AM

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

All times are GMT -5. The time now is 10:35 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