[pgpool-general: 447] Re: apache:x:48:48:Apache:/var/www:/sbin/nologin problem

Nozomi Anzai anzai at sraoss.co.jp
Tue May 15 14:11:49 JST 2012


> I'm following this guide to do my configuration
> http://pgpool.projects.postgresql.org/contrib_docs/simple_sr_setting2/index.html
> but i found this command which i not really understand what it is
> doing and where to execute this command
> apache:x:48:48:Apache:/var/www:/sbin/nologin.

It is written in /etc/passwd, and "/sbin/nologin" means that the user
"apache" is prohibited to login (ex. by SSH).
You can write each user's default shell here.

But the user "apache" must login for creating its SSH public key, so you
have to "change temporarily" this config as follows:

# usermod -s /bin/bash apache
# (ssh-keygen, etc...)
# usermod -s /sbin/nologin apache


> any guide will be helpful to me.
> thanks
> -- 
> Best Regards,
> Freddy
> _______________________________________________
> pgpool-general mailing list
> pgpool-general ¡÷ pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general

-- 
Nozomi Anzai
SRA OSS, Inc. Japan


More information about the pgpool-general mailing list