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

Re: fuser -km gives shock!!

if you are logged in as a regular user and you sudo or su to root a fuser
-km /home would kill the login process of that user.. hence killing your
root session

On 2/18/07, inode0 <inode0 gmail com> wrote:

On 2/18/07, Mike Burger <mburger bubbanfriends org> wrote:
> > root can be accessing /home regardless of where root's home directory
> > is mounted. Perhaps checking which processes you are about to kill
> > before killing them would be helpful to avoid such surprises?
> The problem is that the man page for fuser, as pertains to the -k
> says:
> An fuser process never kills itself, but may kill other fuser processes.
> This appears to be incorrect on both FC5 and FC6...I've tried it on
> just this morning, and it kills the session/shell running the command as
> well as everything else.

I'm not really sure if this is a problem. When you kill off a whole
bunch of root processes it isn't surprising there are some other
processes caught in the crossfire.

I'm guessing that /home in these cases is not a filesystem separate
from / and that is probably the root cause of the problem.


redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe

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