LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-03-2003, 06:30 AM   #1
jmckeown
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?

regards,
John McKeown
 
Old 11-03-2003, 07:13 AM   #2
dannybpng
Member
 
Registered: Sep 2003
Location: USA
Distribution: Fedora 20
Posts: 60

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?

Dan
 
Old 11-03-2003, 03:46 PM   #3
jmckeown
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 )

regards
John McKeown
 
  


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
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


All times are GMT -5. The time now is 01:40 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration