1
   

Problem with tcsh

 
 
cjhsa
 
Reply Tue 15 Nov, 2005 09:27 am
Maybe some other Unix expert here can help me. I'm trying to do something like this:

su - newuser -c "command"

What happens is that the command, which starts a fairly complex piece of software (vncserver), complains about not being able to find stuff it needs in the PATH. Having used "su -..." I would expect the PATH to be set.

Now, I tried exactly the same thing with another user account that used ksh instead of tcsh, and it worked fine.

I wound up having to pass two environment variables to set the PATH and HOME in order to get it working with tcsh.

Now, why would tcsh behave like that?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 525 • Replies: 0
No top replies

 
 

Related Topics

Clone of Micosoft Office - Question by Advocate
Do You Turn Off Your Computer at Night? - Discussion by Phoenix32890
The "Death" of the Computer Mouse - Discussion by Phoenix32890
Windows 10... - Discussion by Region Philbis
Surface Pro 3: What do you think? - Question by neologist
Windows 8 tips thread - Discussion by Wilso
GOOGLE CHROME - Question by Setanta
.Net and Firefox... - Discussion by gungasnake
Hacking a computer and remote access - Discussion by trying2learn
 
  1. Forums
  2. » Problem with tcsh
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 05/02/2024 at 09:57:02