sponsor Vim development Vim logo Vim Book Ad

basic Tip #723: Sasser security & VIEWFILE names

 tip karma   Rating 0/0, Viewed by 735 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   May 17, 2004 21:18      complexity:   basic
author:   U.R. Molar      as of Vim:   6.0

The Microsoft "Security Update" for the Sasser worm has caused the
naming convention of vim VIEW FILES to change.  
(Yeah, it is very annoying.  Any good explanations?)

The most obvious shock will be the absence of manually set FOLDS.

Tip:  goto C:\Program Files\Vim\vimfiles\view
and replace the "~" at the start of view file names with
"C=-=+Documents and Settings=+USERNAME"
where USERNAME is set to your username.

For example, for Mr. Molar:

                                 "~=+My Documents=+project.txt=1.vim"
          was renamed to

"C=-=+Documents and Settings=+molar=+My Documents=+project.txt=1.vim"

The naming convention of view files
changed just after the installation of the
following on a PC running XP.
Check your timestamps carefully.
See also
:h mkview
:h loadview

Microsoft Security Bulletin MS04-011
Security Update for Microsoft Windows (835732)
Issued: April 13, 2004
Updated: May 4, 2004
Version: 1.3

File Name: WindowsXP-KB835732-x86-ENU.EXE
Download Size: 2647 KB
Date Published: 4/12/2004
Version: 835732

     Sasser worm (W32.Sasser.A and its variants) is currently circulating on the
     Internet. Microsoft has verified that the worm exploits the Local Security
     Authority Subsystem Service (LSASS).   Be sure to use a FIREWALL to protect
     port 445.

 rate this tip  Life Changing Helpful Unfulfilling 

<< useful mapping for <space> in normal mode: :nnoremap <space> i<space><esc> | Add a dashed line under a title in text documents >>

Additional Notes

Anonymous, May 18, 2004 9:40
CHECK OUT THIS UNBELIEVABLE SIDE-EFFECT.
IT'S SUCH IDIOCY, AND ARROGANCE TO BREAK PROGRAMS...

Microsoft Knowledge Base Article - 824898  Last Reviewed: 3/25/2004 (1.0)

SYMPTOMS:  Programs that run on Microsoft Windows XP-based computers may
experience problems when the programs rely on the following values that are
contained in the HKEY_CURRENT_USER\Volatile Environment registry key:

                          HOMEDRIVE HOMEPATH HOMESHARE

CAUSE: This problem occurs when you apply the hotfix for Microsoft KB article
Q818078 on a Windows XP-based computer. After you apply the hotfix, the
following registry values are removed from the HKEY_CURRENT_USER\Volatile
Environment registry key:

                          HOMEDRIVE HOMEPATH HOMESHARE

RESOLUTION:   A supported hotfix is now available from Microsoft, but it is only
intended to correct the problem that is described in this article. Only apply it
to systems that are experiencing this specific problem. This hotfix may receive
additional testing. Therefore, if you are not severely affected by this problem,
Microsoft recommends that you wait for the next Windows XP service pack that
contains this hotfix.

jackass, May 18, 2004 17:18
Is this a micro soft xp support site?
Curious, May 19, 2004 9:27
__ Given the equivalence of the following three items:

C:\Documents and Settings\USER

~

%HOMEDRIVE%%HOMEPATH%


__ where else is vim likely to get into irregular unexpected behaviour
due to Microsoft's sloppiness?





If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda.
   
Sponsored by Web Concept Group Inc. SourceForge.net Logo