Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Runtime.getruntime().exec("")



Sam Hart wrote:
| % echo $PATH
| /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
|
| hmmm... in order to put a path that gets searched before /usr/bin you | would need admin rights.

Why do you say that? PATH is just a shell variable; any common riff-raff can change it with no special >privileges at all.

I guess any common riff-raff that happened to be allowed the privilege of sitting in front of your computer and/or being logged in as you.

Toph
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Runtime.getruntime().exec("") (From: Sam Hart <email@hidden>)
 >Re: Runtime.getruntime().exec("") (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.