Solved

Sun Solaris 8--Adduser Command

Posted on 2001-07-11
1
720 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

685 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