Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR 4.0 RC1 CentOS 7 testing thread

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR 4.0 RC1 CentOS 7 testing thread


Chronological Thread 
  • From: Andrew Lake <>
  • To: ,
  • Subject: Re: [perfsonar-user] perfSONAR 4.0 RC1 CentOS 7 testing thread
  • Date: Tue, 4 Oct 2016 09:13:15 -0700
  • Ironport-phdr: 9a23:ip8HkhGpnB2UI4eXZQm6kZ1GYnF86YWxBRYc798ds5kLTJ76r8ywAkXT6L1XgUPTWs2DsrQf1LqQ7vurADFIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnZBUin4YA1qK+LuMojDlMmt0e2uvZrJbEEAnDenb6h1Khys6BjKu9M+gI1+J7w3xweT5HZEZrd432RtcHuVkwzx+Y+U9Z1uu3BZvf4w38NbF6P3Y/JrHvRjED06PjVtt4XQvh7ZQF7X6w==
  • Ironport-phdr: 9a23:rqyBiR9hhkhlof9uRHKM819IXTAuvvDOBiVQ1KB91uscTK2v8tzYMVDF4r011RmSDN+dsa0P2reempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47AblHf6ke/8SQVUk2mc1EkfKKvRcWD0oye7KObw9XreQJGhT6wM/tZDS6dikHvjPQQmpZoMa0ryxHE8TNicuVSwn50dxrIx06vrpT4wJk29DtdvekJ8d9bXL/8crh+SqZXSHw+Pno7/8rtvAOGUBCC/FMdVHkbiBxFH1KD4R3nDbnrtS6vn+xxwiSFden/Tr18DT2k47ZDRQSujiobYW1quFrLg9B92foI6CmqoAZyltbZ

Hi Bill,

On CentOS 7 we no longer use system accounts in the psadmin group with mod_auth_shadow in apache to create web user accounts. Instead it uses a htpasswd file and doesn’t link it to the system accounts at all. I think nptoolkit-configure.py should properly add the web user to the htpasswd file, but is it giving you an error? or does it act like it completes but then you can’t login?

Thanks,
Andy


On October 4, 2016 at 11:54:57 AM, Bill Owens () wrote:

On Tue, Oct 04, 2016 at 11:37:44AM -0400, Bill Owens wrote:
> On Tue, Oct 04, 2016 at 11:05:57AM -0400, Bill Owens wrote:
> > I've now run into an inability to create a web admin user because the psadmin group doesn't exist. I'm tempted to create it manually but I feel like something must have gone wrong earlier and I don't want to bypass that if there's a step that I missed.
>
> Looks like this group should be added during setup, but there's a check to see whether the system is running RHEL7, and if so it is skipped.
>
> from perfsonar-toolkit.spec:
>
> %post
> # Add a group of users who can login to the web ui
> %if 0%{?el7}
> touch /etc/perfsonar/toolkit/psadmin.htpasswd
> chgrp apache /etc/perfsonar/toolkit/psadmin.htpasswd
> chmod 0640 /etc/perfsonar/toolkit/psadmin.htpasswd
> %else
> /usr/sbin/groupadd psadmin 2> /dev/null || :
> %endif
> /usr/sbin/groupadd pssudo 2> /dev/null || :
>
> I've run the groupadd command manually and we'll see how things go from there...

Okay, now I see; the old nptoolkit-configure.py script seems to be deprecated, and we should use add_psadmin_user instead?

Bill.



Archive powered by MHonArc 2.6.19.

Top of Page