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

Re: fuser -km gives shock!!



On 2/18/07, Mike Zupan <hijinks 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



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