Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Security flaw in RealVNC 4.1.1
intelliadmin.com ^ | Monday, May 08, 2006 | Steve Wiseman

Posted on 05/11/2006 9:26:40 PM PDT by zeugma

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-27 last
To: zeugma
works better if you put it in .bashrc

OK. I'll try putting it there. When I type in:
PS1='\w `if [$?=0]; then echo :\\); else echo :\\(; fi`'

I keep getting a bash error:
bash:0=0:command not found

21 posted on 05/12/2006 12:57:42 PM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 19 | View Replies]

To: zeugma
Gotta do weird things because of the way the shell parses stuff.

< grin > thanks.

22 posted on 05/12/2006 12:58:21 PM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 20 | View Replies]

To: kpp_kpp

Kpp_Kpp,

Thats so true vnc was nice five years ago but with MS id rather use terminal services and with unix either vnc or X over ssh..


23 posted on 05/14/2006 11:38:16 AM PDT by N3WBI3 ("I can kill you with my brain" - River Tam)
[ Post Reply | Private Reply | To 12 | View Replies]

To: zeugma
Zeg,

That is a *great* idea! I might implement something like that for the default prompt on my systems at the office..
24 posted on 05/14/2006 11:46:58 AM PDT by N3WBI3 ("I can kill you with my brain" - River Tam)
[ Post Reply | Private Reply | To 16 | View Replies]

To: N3WBI3
Glad you liked it. I definitely notice when I'm on a system that doesn't have it. I've thought of incorporating other tests in my prompt, but that is by far the most useful.

One thing that it has helped me out with quite a bit is that it flags programs for you that don't set the status correctly. I've had a heck of a time writing scripts to check for name resolution failure because the 'host' command gives inconsistant results. 

25 posted on 05/14/2006 1:30:07 PM PDT by zeugma (Come to the Dark Side... We have cookies!)
[ Post Reply | Private Reply | To 24 | View Replies]

To: zeugma
I've been using a variation of your prompt since we had this discussion 14 years ago. Here's te relevant portion of my .bashrc :

GREEN='\[\033[32m\]'
RED='\[\033[31m\]'
NC='\[\033[37m\]'

PS1="\u@\w \`if [ \$? = 0 ]; then echo ${GREEN}:\\\)${NC}; else echo ${RED}:\\\(${NC}; fi\`"

The above gives me a green smiley if the command is successful, and a red frowney if it is not. Pretty handy.

26 posted on 01/21/2021 5:45:25 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 16 | View Replies]

To: ShadowAce

Dude, I can’t remember yesterday, much less 14 years ago!

LOL

I just tried it, and it’s really too subtle for me. I’m fairly color blind, and there really isn’t enough color there for me to quickly discriminate it. Does look cool when I bump the font size way up though.


27 posted on 01/21/2021 10:10:02 AM PST by zeugma (Stop deluding yourself that America is still a free country.)
[ Post Reply | Private Reply | To 26 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-27 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson