16

I was wondering what is the alternative or equivalent to Windows services on Gnu/Linux. Is it a sever like X or Pulseaudio but that wouldn't make any sense because the theme service on windows, a alternative to that on Gnu/Linux would be a WM, or a DE. Is it like the Windows registry when there isn't truly a alternative or a equivalent to it other then the your home user directory.

7
  • 5
    as Wikipedia link mention: In Windows NT operating systems, a Windows service is a computer program that operates in the background.[1] It is similar in concept to a Unix daemon
    – Nidal
    Jul 15, 2014 at 22:57
  • @Networker but a Unix daemon is not execly the same thing.
    – MathCubes
    Jul 15, 2014 at 23:04
  • 4
    There may not be an exact equivalent, if EVERYTHING had an exact equivalent it would be, as a whole, the same thing. Jul 15, 2014 at 23:10
  • @richard yea...
    – MathCubes
    Jul 15, 2014 at 23:12
  • 1
    You may get a more satisfactory answer to “what is the Gnu+Linux equivalent to the ms-windows xyz service?” Jul 15, 2014 at 23:13

1 Answer 1

25

as I mentioned in the comment:

as Wikipedia link mention: In Windows NT operating systems, a Windows service is a computer program that operates in the background.[1] It is similar in concept to a Unix daemon.

A daemon is a type of program on Unix-like operating systems that runs unobtrusively in the background, rather than under the direct control of a user, waiting to be activated by the occurance of a specific event or condition.

On the Microsoft Windows operating systems, programs called services perform the functions of daemons, although the term daemon is now sometimes being used with regard to those systems as well.

source: http://www.linfo.org/daemon.html

UPDATE( More details and actual comparison):

    • UNIX: A daemon is a process that detaches itself from the terminal and runs disconnected in the background, waiting for requests and responding to them.
    • Windows: A service is a special type of application that is available on Windows and runs in the background with special privileges.
    • In UNIX, a daemon is a process that the system starts to provide a service to other applications. Typically, the daemon does not interact with users. UNIX daemons are started at boot time from init or rc scripts. To modify such a script, it needs to be opened in a text editor and the values of the variables in the script need to be physically changed. On UNIX, a daemon runs with an appropriate user name for the service that it provides or as a root user.
    • A Windows service is the equivalent of a UNIX daemon. It is a process that provides one or more facilities to client processes. Typically, a service is a long-running, Windows-based application that does not interact with users and, consequently, does not include a UI. Services may start when the system restarts and then continue running across logon sessions. Windows has a registry that stores the values of the variables used in the services. Control Panel provides a UI that allows users to set the variables with the valid values in the registry. The security context of that user determines the capabilities of the service. Most services run as either Local Service or Network Service. The latter is required if the service needs to access network resources and must run as a domain user with enough privileges to perform the required tasks.
6
  • I would accepted if you go into more detail about the two and how they are the same and where the difference lays.
    – MathCubes
    Jul 15, 2014 at 23:11
  • @Andrew,see updates I hope it will help you :)
    – Nidal
    Jul 15, 2014 at 23:18
  • 1
    thanks I might accepted it in like a hour or so, to leave the it open for other users to post to.
    – MathCubes
    Jul 15, 2014 at 23:21
  • @Andrew you can still accept the answer and other users can still post answers even if you have accepted an answer.
    – Lawrence
    Jul 16, 2014 at 1:51
  • 1
    Except “does not interact with the user”, it is true that daemons disconnect from tty, however they usually still interact in some way. It is better to say “does not directly interact with logged in users”, and the truth of this depends on how you define directly. One of the problem is that many IT words are poorly defined, or used incorrectly: (e.g. UI: tty/X11/web/network/file-share) Jul 16, 2014 at 12:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .