Re: Of mice and men
- From: "jce" <defaultuser@xxxxxxxxxxx>
- Date: Sat, 07 May 2005 01:01:02 GMT
Understand.
The original post said:
"with enough security that logged in as a normal user, I cannot change even
another user's data"
I had said:
"This would depend on how well the sysadm (you or otherwise) and your users
maintained their environment no?"
The response was:
Each of the cases you explain below my point still stands. Your security is
only as good as the person who's maintaining it.
With regards to SUID bit. I merely suggested that one should look at it.
Someone could download something, install something as a root user and be
_totally_ oblivious to the fact that now their machine has a security hole.
Or is that impossible? Maybe they've fixed this up now, I don't hack so I
don't really know.
JCE
"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:1115407949.715865.116550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> So what does chmod do? Or do you somehow disable that from working?
>
> Someone can only chmod or chown files that they have permission to do
> so. So one can chmod _their_ files to give access to others, but they
> cannot gain permission for themselves.
>> Please check your system for programs set with the SUID bit
>> enabled then tell me you cannot run something like root.
> The suid bit on a program makes that program run as the owner of the
> file. If I set my programs (ie ones that I own) to suid then they run
> as my user and thus can access my files and directories. I could do
> that so that others could run my program to access those files without
> letting them access the files directly. ie it makes the files _more_
> secure. As it is _my_ program then only I can set the suid and I can
> control what the program does.
> Sometimes the suid is set for root owned files. This can only be set by
> root and cannot be set by, say, downloading a file and saving it to
> disk. In fact downloading won't even set the executable bits.
>
> The same argument applies. A suid root owned executable can, for
> example, update a file that users only have read access to. Thus
> ordinary users can only update via that program and they don't need
> write access. It is _more_ secure.
.
- Follow-Ups:
- Re: Of mice and men
- From: Michael Wojcik
- Re: Of mice and men
- From: Richard
- Re: Of mice and men
- References:
- Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: Arnold Trembley
- Re: Of mice and men
- From: docdwarf
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: jce
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: Arnold Trembley
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: LX-i
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: Donald Tees
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: jce
- Re: Of mice and men
- From: Pete Dashwood
- Re: Of mice and men
- From: Donald Tees
- Re: Of mice and men
- From: jce
- Re: Of mice and men
- From: Donald Tees
- Re: Of mice and men
- From: jce
- Re: Of mice and men
- From: Richard
- Of mice and men
- Prev by Date: Re: Email with attachments using IEBGENER
- Next by Date: Re: Of mice and men
- Previous by thread: Re: Of mice and men
- Next by thread: Re: Of mice and men
- Index(es):
Relevant Pages
|