Re: [CentOS] I cannot add user to a group permanently

2016-10-16 Thread Gordon Messmer
On 10/16/2016 04:57 AM, Xuwen Fang wrote: I'm using a centos 7 server. I tried to add my own user to group 'apache' and it works temporarily. When I ssh to it later, I found my user not a member of group 'apache'. What's wrong with it? Are you using "newgrp"? That tool starts a new session wh

[CentOS] I cannot add user to a group permanently

2016-10-16 Thread Xuwen Fang
Hello Everyone, I'm using a centos 7 server. I tried to add my own user to group 'apache' and it works temporarily. When I ssh to it later, I found my user not a member of group 'apache'. What's wrong with it? Thanks. Sincerely, Xuwen ___ CentOS mailing