Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] pS 3.4 upgrade: Possible bug in user account management?

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] pS 3.4 upgrade: Possible bug in user account management?


Chronological Thread 
  • From: Philip Papadopoulos <>
  • To:
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] pS 3.4 upgrade: Possible bug in user account management?
  • Date: Thu, 16 Oct 2014 09:11:51 -0700

Yes.  I think you need to add the users to the psadmin group.
I had the same problem.

I believe that the psadmin is new group for 3.4 (I'm not a perfSONAR developer, so somebody can correct me if I'm wrong)

-P

On Thu, Oct 16, 2014 at 9:05 AM, Jim Nauer CWRU <> wrote:
Yesterday, I did the upgrade to pS 3.4 (from a 3.3.x NetInstall that had been done in July, and was fully up-to-date before pS 3.4 was released).

Today, I was unable to log in to the web interface with any user--not root, not the non-root user I had created specifically to address this issue.

I created new user account, and was able to log in...but then I dug in to the documentation on the "Manager Users" page.  According to that page, under 3.4, SSH users should not automatically get "sudoer" privileges--but in my testing, if both SSH login & web interface options are selected, the new user account _is_ added to the "wheel" group (and thus gets 'sudo' privs but also should trigger the new web-access-not-allowed restriction).

To be clear, here is exactly what is happening:
1) create user 'foo', select ONLY "Should this user be able to login via SSH? [yes] "
  result: user 'foo' is created, and is a member of only the group "foo".  
  SSH login works, 'sudo' fails, web login fails (as expected)

2) create user "bar", select ONLY "Should this user be able to login to the web interface? [yes] "
  result: user "bar" is created, and is a member of the groups "bar" and "psadmin".  
  SSH login fails, web login succeeds (as expected)

3) create user "baz", select BOTH "Should this user be able to login via SSH? [yes] " and "Should this user be able to login to the web interface? [yes] "
 result: user "baz" is created, and is a member of the groups "baz", "psadmin", AND "wheel". 
 SSH login works, and 'sudo' works (as expected, since %wheel is allowed by the sudoers file).
 web login works (NOT as expected, if "wheel" members are supposed to be denied access).

Any clues as to what's going on here? Is nptoolkit-configure.py mis-behaving, and/or the web server, and/or am I mis-understanding of how things are supposed to work?

-- 
James A. Nauer                   | "I shall not yield one whit of  maturity,
Engineer III, ITS Build          | not grace, not respectability, to  the
Information Technology Services  | passing of time. I declare that I  shall
Case Western Reserve University  | forever be, if not a child,  certainly
(216) 368-MACS  (368-6227)       | childish"  --Kennet Shardik
USPA D-25604




--
Philip Papadopoulos, PhD
University of California, San Diego
858-822-3628 (Ofc)
619-331-2990 (Fax)



Archive powered by MHonArc 2.6.16.

Top of Page