To jnsc:
Quote:
try
Code:
su -s /bin/bash apache
|
ok, i send this command now:
Code:
[root@testvirtual ~]# su -s /bin/bash apache
bash-3.2$ whoami
apache
bash-3.2$
im not getting any error anymore. i do see my my prompt changed from # to $ - so that means i can change user to apache.
################################################## #######################
To falko:
Quote:
Can you become the apache user with the su command and run the commands
Code:
chown -R web2_AnyUser /var/www/web2/web
chgrp -R web2 /var/www/web2/web
? Do you get any errors?
|
so i send the chown command:
Code:
bash-3.2$ chown web2_AnyUser /var/www/web2/web/
chown: changing ownership of `/var/www/web2/web/': Operation not permitted
RESULTS: Yes, i do get error = "Operation not permitted"
################################################## #######################
To falko:
Quote:
What's the output of
Code:
grep apache /etc/passwd
?
|
COMMAND RESULTS:
Code:
[root@testvirtual ~]# grep apache /etc/passwd
apache:x:48:48:Apache:/var/www:/sbin/nologin
Please Advise, Thanks