DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.)
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.
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...
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...
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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.