LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-22-2009, 08:26 AM   #1
Sirbaf
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
Etch, KDE. and lost password


Hi !

A debian etch user somebody has forgotten his password.
So, we logged as root and tried a :
passwd somebody
and he provided a new password.

No problem to log as somebody user now.
However we encounter another problem :
his KDE desktop is now almost virgin and it was quite complex and elaborated before he lost his password.
Fortunately, none of his old data seems to be lost.

Please what should we do to recover his old desktop ?
(I personally do not use KDE but fluxbox so it is difficult for me.)

Thanks for any hint.

Fabrice
 
Old 01-22-2009, 02:25 PM   #2
cheftec
Member
 
Registered: Jan 2009
Location: Pennsyltucky
Distribution: Debian, Ubuntu, DeLiLinux, others
Posts: 144

Rep: Reputation: 19
That's...weird.

Just for a suggestion, check to see if he has the appropriate permissions to access the apps and such he had on his kde desktop before. Since his old data is there, and passwd shouldn't change any info about his account, this /must/ be a KDE thing. There's a file ~/.kde/Autostart/
that should have all the apps that start when he logs in. As far as themes, check wherever the themes are stored (can't remember off the top of my head) and see if there is anything there.

This is odd, though.
 
Old 01-25-2009, 05:22 AM   #3
Sirbaf
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks !

Apologize to answer only now : I waited for the KDE user to come back with his password.
I see you are right to speak about permissions : in directory
/home
we do not have access to /home/somebody ! (where "somebody" is the KDE user)
This directory is weirdly locked...
However he has access ho /home/anotheruser...
(When we ask :
who
in a konsole, we get the correct answer "somebody")
I do not understand a lot...

Sorry again to be so late.

Fabrice
 
Old 01-25-2009, 01:47 PM   #4
mase
LQ Newbie
 
Registered: Jul 2008
Posts: 22

Rep: Reputation: 15
Try

Code:
ls -l /home
This will show you what permissions are set on the somebody folder.
 
Old 01-25-2009, 11:06 PM   #5
cheftec
Member
 
Registered: Jan 2009
Location: Pennsyltucky
Distribution: Debian, Ubuntu, DeLiLinux, others
Posts: 144

Rep: Reputation: 19
YOu may have to add the anotheruser to the somebodys permissions. Or vice versa. YOu should be able to do that with an administrative tool in KDE. Don't rightly recall how to do it in chmod. chmod 777 something soemthing...
 
Old 01-27-2009, 05:03 AM   #6
Sirbaf
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks mase !

ls -l /home
is indeed a right way to check the permissions.


Thanks Cheftec !

I performed a
chmod 777 /home/somebody
in superuser mode.

That unlocked /home/somebody
So I can walk through "somebody" directories.

However it probably lacks another thing to get the old configuration :
in fact the "elaborated" things I spoke about where only a directory structure hierarchy (with icons) that the user had organisated for a cool access to his programs and data.
(For examples he has a provided a directory that holds short stories he wrote,
another directory holds .mp3 he converts from CD .wav. Another directory is for penguin games...)

It is maybe an "autostart" problem that would give us access to the directories that are the heads of the user organization ?

Fabrice
 
Old 01-27-2009, 02:45 PM   #7
mase
LQ Newbie
 
Registered: Jul 2008
Posts: 22

Rep: Reputation: 15
So the folder is owned by somebody right?
(Try chown somebody:somebody /home/somebody as root)
 
  


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
Trying to compile kde 3.4.2 on Etch. Problem: kde-config program not found Yury Debian 4 03-30-2010 04:32 PM
etch repositories lost? pfmrof Debian 6 10-17-2007 09:53 AM
sarge ->etch upgrade lost Gnome desktop andywest Linux - Desktop 5 05-22-2007 06:49 AM
Direct Rendering Lost after full etch upgrade kushalkoolwal Debian 6 05-10-2007 09:30 AM
what is the sudo password in etch? htamayo Debian 2 04-19-2007 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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