LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-25-2012, 02:27 AM   #1
GraceBT
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Lightbulb Ubuntu 12.04 server - localhost installation - user validation problem.


helo LinuxQuestions.org

Okay,

I just installed Ubuntu 12.04 server in a VirtualBox.
On my first login I made a typo and logged on as 'brace'
when I intended 'grace'. Ubuntu created a new user
'brace'. Since I wanted the name to be 'grace' I changed
the user name to grace, and renamed the /home/brace
directory to 'grace'. Problem solved! BUT, when I shelled
in and logged in as grace I got the following:
"Could not chdir to home directory /home/brace: No such
file or directory" ---Ooops!

Is there a clean and easy way to fix this, or should I
just do the installation over again.

Incidentally I found out that if You are trying to use
PuTTY to shell into a VirtualBox Bridged Adapter, You
will run into a problem if You have Windows Virtuual PC
2007 server installed. Add this to Bridged Adapter
problems usual suspect list.

This looks like a great forum. Thank You in advance for
any help that You may be able to offer.

Regards,

73
-Grace
NNNN
z

Last edited by GraceBT; 08-25-2012 at 02:29 AM.
 
Old 08-25-2012, 07:24 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
You may have renamed the dir, but the user grace is still configured to use /home/brace. You have to reconfigure the user. Or delete grace and make a new user.

You can do it like this:

Code:
userdel grace

useradd -d /home/grace grace
You can 'man useradd' if you want to configure the new user even more.

Alex Brinister
 
1 members found this post helpful.
Old 08-27-2012, 03:33 AM   #3
GraceBT
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Ubuntu 12.04 server - localhost installation - user validation problem.

Thanks Alex. Great answer. On to the next problem!

73
-Grace
NNNN
z
 
  


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
[SOLVED] Ubuntu 10.04 Server RAID-1 installation problem jsalelle Linux - Server 5 01-07-2011 08:56 AM
Problem with installation of Xen 4.0.1 on Ubuntu 10.10 Server Edition Shadower108 Linux - Virtualization and Cloud 5 11-26-2010 08:09 AM
End user validation using squid. tuxtutorials Linux - Security 4 07-03-2009 11:54 PM
Ubuntu server reboot problem after installation philipjg Linux - Server 1 09-08-2007 05:46 AM
Sarge mysql-server Access denied for user: root@localhost infinity432 Linux - Software 2 05-18-2005 11:42 PM

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

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