[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim



i am using vim to add the one and only name in a usr account to the groups file for printing.
i am working with debian 6.0 with out any form of a GUI to learn system admin with an explicit aim in setting up a lan for web development. but as many voices scream, read the docs, as i do.
i have been through program language C and PHP. but when it comes to Linux in general, i just want to scream.
Thank you for the words.  

On Thu, Nov 15, 2012 at 5:39 AM, Jon Dowland <jmtd@debian.org> wrote:
On Thu, Nov 15, 2012 at 05:18:52AM -0800, james gray wrote:
> which vim
> /usr/bin/vim
> ls -l /usr/bin/vim
> lrwxrwxrwx -> etc/alternatives/vim
> ls -l etc/alternatives/vim
> lrwxrwxrwx -> /usr/bin/vim.basic

the name "/usr/bin/vim" is managed by the alternatives system (see
update-alternatives(8)) in order that the name can be used by more
than one Debian package, and so those packages can be co-installed.

So in my case:

        $ update-alternatives --list vim
        /usr/bin/vim.gnome

Slightly different results for the binary name 'vi':

        $ update-alternatives --list vi
        /usr/bin/elvisnox
        /usr/bin/vim.gnome
        /usr/bin/vim.tiny
        $ readlink -f $(which vi)
        /usr/bin/vim.gnome

> is there a for see able security issue coming from the programers view
> point , to have vim.basic with its file access as they are root root
> rwxr-xr-x.

No.

> can the end usr mutilate the file access and group of vim.basic and change
> to:
>
> root admin rwxrwx---

The end-user couldn't, except by elevating to root via sudo or similar.
Why would you want to do this?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20121115133941.GC9810@debian" target="_blank">http://lists.debian.org/[🔎] 20121115133941.GC9810@debian



Reply to: