Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-03-2003, 06:30 AM   #1
LQ Newbie
Registered: Jul 2002
Posts: 5

Rep: Reputation: 0
~user pointing to wrong directory

I'm passing this machine on to my mum
so I changed the user name - using the
Yast2 - it changed the /home/username
and set file ownereship to the new name

But when I tried to login again it said:
"No write access to $HOME directory
"KDE is unable to start

I tried --- cd ~username
and it said "No directory /home/oldusername

So somewhere the tilde user is still set to the
old username - I don't know where to fix this
but I suspectf this and KDE problem related

Seems failing in Suse 8.2 that its "Edit User"
facility has such fundamental omissions?

John McKeown
Old 11-03-2003, 07:13 AM   #2
Registered: Sep 2003
Location: USA
Distribution: Fedora 23
Posts: 72

Rep: Reputation: 19
Take a look at the /etc/passwd file by getting to a shell prompt and typing:
more /etc/passwd

Does the "username" exist in the file?

Old 11-03-2003, 03:46 PM   #3
LQ Newbie
Registered: Jul 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks - yes i found Yast "Edit User" hadn't updated /etc/passwd - but when I did a word-serach on olduername it was all over, e.g. in myriad StarOffice files, so i gave up and changed back to oldusername - Lesson learnt - it really isn't possib;e to change a username after apps have been installed under the old name.

What I'd like to do now is make KDE apps menu just say "Logout" rather than "Logout oldusername" - and similarly the box that appears on logout to not mention oldusername. Apart from that i don't think it appears much ( my mum won't mind the actual directory being /home/john )

John McKeown


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
Eterm starts in wrong directory jrdioko Linux - Newbie 3 12-27-2004 05:56 PM
Wrong modules directory used during boot ... tulear Linux - Software 3 10-30-2004 11:50 AM
How do i fix this open_basedir restriction in effect. File is in wrong directory DropHit Linux - Software 2 02-26-2004 07:28 PM
wu-ftpd wrong login directory gkoutsog Linux - General 0 02-24-2004 07:18 AM
directory pointing to another albean Linux - Newbie 1 10-04-2002 11:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 AM.

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