40
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntuのapacheユーザーとグループ

Posted at

RH系ならば cat /etc/passwd | grep apache とかやって調べられるが、ubuntuの場合は何度grepしてもでてこない。どれだけ媚ながらgrepしてもでてこない。

なぜでてこないのかと言うとubuntuの場合は www-data というユーザーとグループがapacheを動かしているため。

/etc/apache2/envvars にその設定が書かれているので、もしapacheを動かすユーザーを変更したいのであれば、そこを変えてやればいい。

40
32
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
40
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?