Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: óÀ½ ½ÃÀÛÇÒ¶§ ÀÚµ¿ À¸·Î ƯÁ¤ÇÑ °èÁ¤ÀÇ ±ÇÇÑÀ¸·Î ½ÇÇà



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


On Sat, Apr 05, 2003 at 03:39:48PM +0900, 오회근 (ohk5004@xxxxxxxxxxxxx) wrote:
> 데몬 프로그램을 하나 만들었는데..
> 처음 시작할때 자동으로 띄울려고 합니다.
> 그런데 root권한으로 안뜨고 특정한 계정의 권한으로 실행을 하고 싶습니다....
> 무슨 방법이 없을까요?

/usr/local/etc/rc.d/ 밑이나 /etc/rc.local 등 시작시키는 스크립트에서,
su userid -c /path/to/daemon 처럼 앞에 su를 붙여 사용자를 바꾸어
띄워주시면 될겁니다.

-- 
netj | Jaeho Shin | 신재호 ; http://netj.org/
System Programmers' Association for Researching Computer Systems
Division of Computer Science, Department of EECS, KAIST

--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2003/04/30 23:01:22 $
Powered by FreeBSD