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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

su - <username> -c

Status
Not open for further replies.

alan147

Technical User
Joined
Nov 15, 2002
Messages
128
Location
GB
Good afternoon

I am trying to start the solvese credit card software as part of the boot up process.

The first thing to start is the licence manager and the solvese itself. The licence manager is in /solvese/SENTINEL_LM/bin.
To start the licence manager I use the following command

su - solvese -c /solvese/SENTINEL_LM/bin/lserv &

the licence manager starts but cannot open a file. The file it requires is in /solvese/SENTINEL_LM/bin however the error message indicates that the process is looking for the file in /solvese.

If I start the licence manager manually, which is the usual method, by starting it from /solvese/SENTINEL_LM/bin then everything is OK.

Any ideas?

Alan
 
Not really an answer, but could you not just link the existing file to /solvese?
 
Thnks, its worth trying.

Alan
 
You may also try
Code:
su - solvese -c "cd /solvese/SENTINEL_LM/bin && ./lserv" &

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top