Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Sun Solaris 8--Adduser Command

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

808 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