Solved

Sun Solaris 8--Adduser Command

Posted on 2001-07-11
1
716 Views
Last Modified: 2013-12-05
A basic question for anyone out there.

When I tried to use the Adduser command it created the user like it's suppose too.  I also used the -d for home directory for that user and it seemed to work (the directory is there).  However when I log in as that user it logs me in from the root directory and not under his home directory?

What did I do wrong or how can I correct that problem?

I would like the user to be able to log into his home directory first.
0
Comment
Question by:jonnyblaze
1 Comment
 
LVL 1

Accepted Solution

by:
dkloes earned 38 total points
ID: 6282519
The home directory that Unix should be using is the 6th field of the /etc/passwd file.  What is in this field for this user in /etc/passwd?  If it is not correct, make a backup copy of the file (to be safe) and then edit the file to correct this field for this user.  If the /etc/passwd file is correct, we can go from there.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now