How does init determine the user to run a daemon as

Roger Oberholtzer roger
Fri Sep 23 05:14:18 PDT 2005


On Thu, 2005-09-22 at 20:26, Jan M wrote:
> Hi,
> 
> A couple of quickies:
> 
> 1) How does init determine which user to run a daemon as?
> 
> 2) How does init run a daemon as a user without knowing the password for
> that user?

init runs as root, who can su to anyone without a password. Same as the
su command.

> 
> Thanks,
> 
> Jan
> 
> 
> 
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc: http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> 
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Kapellgr?nd 7              ?                               ?
? P. O. Box 4205             ?    Phone: Int + 46 8   314223 ?
? 102 65 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   314223 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list