Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot use admintool

Status
Not open for further replies.

doti

Technical User
Feb 6, 2005
56
PL
hi
I am using solaris 10 and have the following problem:

I cannot access the home directory when i am logged as root...
Then I created an oracle user useradd. when i checked /etc/passwd it stated that the account should be in/home/oracle directory. But when i am trying to log as oracle it says that: no such directory!
The next thing is that i cannot use admintool!!!!
It says that: admintool not found.

Thanks in advance for your help...
 
What useradd command did you issue? In Solaris (certainly before 10, anyway), home directories are usually created under /export/home by default. Can you find admintool, and if so, is the directory it's in in your $PATH. Is your $DISPLAY set and do you have Exceed or similar running on your PC. Sorry for the questions, but more info. is required.
 
ok
firstly i logged as a root and i entered the following command to create user:
/usr/sbin/useradd -g oinstall -G dba oracle

secondly, there is no home directory in the /etc
lastly, i cannot find admintool at all
i have never set my $DISPLAY ... so i assume that it isn't.

haw can i check whether Exceed is running?

:)
 
The home directory wou;dn't be under /etc, it would probably be under /export/home as I mentioned above. It seems that admintool has been discontinued in Sol 10 and you should therefore use SMC - see:


The Exceed client runs on the PC and allows a graphical connection to the Solaris server. I guess if you've never heard of it, you haven't got it. Your $DISPLAY should be set to the IP of your PC:

export DISPLAY=<IP addr of PC>:0.0

It seems we have some way to go.....
 
ok, i tried that export command but the result was: 126.101.26.145: cannot open
 
by the way, when i am trying to log as an oracle user there is a message:
"unable to access home directory. click OK to start a failsafe session.
 
and the /export directory is empty.
previously i was wrong. my home directory exists but in the / directory so the path is: /home
soryy for the mismatch
 
there is no such entry in/etc/passwd
instead there is :
oracle:x:101:101::/home/oracle:/bin/sh
 
the entry for oinstall is in the /etc/group and looks like this:
oinstall::101:
 
Sorry, my bad, I meant Oracle. What's in the /home/oracle directory itself? My own thoughts would be to start over with userdel or to use usermod to change the home directory to /export/home/oracle
 
so, in /home directory there is nothing i mean it's empty.
i have already tried userdel and i have created the user again using /usr/sbin/useradd -g oinstall -G dba oracle;
and the result is the same

i don't have any directory in /export so how can i change the directory for /export/home/oracle???
 
You need to specify the home directory as part of the useradd command. See the -d and -m options to useradd.
 
Thanks for milion,
it's working, i can log now as oracle
Thanks once again!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top