Computing.Net > Forums > Solaris > No directory! whith su command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

No directory! whith su command

Reply to Message Icon

Name: Stefan
Date: January 23, 2003 at 01:08:41 Pacific
OS: Solaris 8
CPU/Ram: Ultra 5
Comment:

Hello!
The problem is that I have a process that runs as a non root user but when i reboot the computer the process starts up as root.
I got an answer that I should put an su - command in my startscript (etc/init.d/myScript)before the line that starts the process. One problem is that i get "No directory!" error message when I do this. I noticed that my users home directory
(/home/ does not exist, could this be the problem and is it enough just to create that directory. Im not very good at Unix so please give me an answer to this probably stupid question.
regards
Stefan




Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: January 23, 2003 at 04:20:46 Pacific
Reply:

At what run level does this script run?


0

Response Number 2
Name: Stefan
Date: January 23, 2003 at 04:40:33 Pacific
Reply:

It runs at level 3 (/etc/rc3.d)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: No directory! whith su command

No directory! error with su command www.computing.net/answers/solaris/no-directory-error-with-su-command/3907.html

SU command doesn't work! www.computing.net/answers/solaris/su-command-doesnt-work/2176.html

su command authentication problem www.computing.net/answers/solaris/su-command-authentication-problem/3006.html