Opened 13 years ago

Last modified 11 years ago

#1130 new defect

IZ189: password test doesn't test password if a Windows host is in the cluster

Reported by: pollinger Owned by:
Priority: normal Milestone:
Component: testsuite Version: current
Severity: Keywords: Sun framework


[Imported from gridengine issuezilla]

        Issue #:      189             Platform:     Sun           Reporter: pollinger (pollinger)
       Component:     testsuite          OS:        All
     Subcomponent:    framework       Version:      current          CC:    None defined
        Status:       NEW             Priority:     P3
      Resolution:                    Issue type:    DEFECT
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
       * Summary:     password test doesn't test password if a Windows host is in the cluster
   Status whiteboard:

     Issue 189 blocks:
   Votes for issue 189:     Vote for this issue

   Opened: Wed Mar 26 07:01:00 -0700 2008 

If there is a Windows host in the cluster, the testsuite asks for the passwords
for the user, root, sgetest1 and sgetest2 and immediately tests if they work.
For the users password, the test always succeeds, even with a wrong password.

Reason: The process which starts the password test is already running as the
user, so the id command prints the right user IDs, even if the su failed.

Possible Fixes:
1. First ask for the sgetest1 password, then su to sgetest1, ask for the users
password and try the "su <user>" with this password.
- or -
2. Perhaps it's possible to check the return value of the su command.

Change History (0)

Note: See TracTickets for help on using tickets.