fuser -km gives shock!!

inode0 inode0 at gmail.com
Mon Feb 19 05:30:37 UTC 2007


On 2/18/07, Mike Zupan <hijinks at gmail.com> wrote:
> 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

That too, along with every other process touching something on the
filesystem on which /home is mounted. In a default Fedora/RHEL
installation that is about everything. It is always a good idea to
look at what you are going to kill before killing it, especially when
issuing a mass kill command.

# fuser -u -v -m /home

                     USER        PID ACCESS COMMAND
/home                root          1 .rce.  init
                     root          2 .rc..  ksoftirqd/0
                     root          3 .rc..  events/0
                     root          4 .rc..  khelper
                     root          5 .rc..  kacpid
                     root         22 .rc..  kblockd/0
                     root         23 .rc..  khubd
                     root         42 .rc..  kswapd0
...

John




More information about the redhat-list mailing list