Solved

Sun Solaris 8--Adduser Command

Posted on 2001-07-11
1
721 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
[X]
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
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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

739 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