Why i cannot log with apache user?
I'm using Fedora 24 and Apache 2.4
I tried to log as apache user:
# su - apache
This account is currently not available.
Can anyone helpe me?
I'm using Fedora 24 and Apache 2.4
I tried to log as apache user:
# su - apache
This account is currently not available.
Can anyone helpe me?
My impression is that the apache account in fedora is intentionally set up so that it can not be used as a login account.
Why do you wish to log in as apache? If you just want to try if some command works as that user, use of sudo -u apache somecommand
or something like that might work as an alternative.
For security reasons logging in on a terminal as the "apache" user is disabled. The same thing applies to most of the system accounts on the OS. If you really have to log in on a terminal as "apache", you need to change the login shell of the "apache" user from /sbin/nologin to some working shell such as /bin/bash using chsh
.
But remember: The /sbin/nologin entry is there for a good reason.
As root:
su - apache -s /usr/bin/bash
Asked: 2016-10-01 12:22:33 -0600
Seen: 325 times
Last updated: Oct 01 '16
How to set up WebDAV for a site?
How Can I update my apache to 2.4.2?
Apache 'Symbolic link not allowed' error on Fedora 25
Using kate editor as root (su) give me errors.
How to enable mod_rewrite on fedora 19
location /var/www is not writable [closed]
Fedora 29 local LAMP Selinux issues
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.