LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 03: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 03:29 AM.
 
Old 08-25-2012, 08:24 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
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, 04: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 09: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 09:09 AM
End user validation using squid. tuxtutorials Linux - Security 4 07-04-2009 12:54 AM
Ubuntu server reboot problem after installation philipjg Linux - Server 1 09-08-2007 06:46 AM
Sarge mysql-server Access denied for user: root@localhost infinity432 Linux - Software 2 05-19-2005 12:42 AM


All times are GMT -5. The time now is 09:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration