Find the answer to your Linux question:
Results 1 to 5 of 5
I have heard that when a system account is disabled, the service or daemon associated with this account, stops functioning....For eg. if the user nobody is disabled, apache will stop ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    17

    Disable system account

    I have heard that when a system account is disabled, the service or daemon associated with this account, stops functioning....For eg. if the user nobody is disabled, apache will stop serving pages on request. I just disabled the nobody user using the command, passwd -l. But still apache is working as usual. Can any one please comment on this.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Have you tried restarting the apache daemon? Does it launch when you start it again?

  3. #3
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    i think if you restart the apache service using the commnad
    # apache2ctl restart

    the browser won't be able to allow you to see webpages.why are you deleting system a/c's
    security policy or what??? i suggest you use selinux.
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  4. #4
    Just Joined!
    Join Date
    Mar 2008
    Posts
    17
    Sorry, that didn't work.....
    I only way in which we can prevent apache to stop serving pages on request is to delete the user nobody

  5. #5
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    The more I think about it, nobody is a non-interactive account so maybe disabling it isn't going to do anything...as you've confirmed!

    As long as nobody's default shell is set to /bin/false it won't be able to log on interactively and noone can su to it either

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...