Bug 805515

Summary: RFE: login(1) like wrapper
Product: [Retired] Beaker Reporter: Marian Csontos <mcsontos>
Component: beahAssignee: beaker-dev-list
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, mastyk, mcsontos, stl, tools-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: SimpleHarness
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-11 12:07:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marian Csontos 2012-03-21 13:59:49 UTC
Description of problem:
there is a need for wrapper which will behave the same as login(1) which would allow us to execute commands like:

> qash [-u USER] COMMAND

This is a prerequisite for removing rhts-compat.

Existing projects:
- refried's qa*r*sh utility[1]
  - this is running over network - we can not rely on network.
- login(1)
  - this naturally does not allow executing commands.
- I thought of using screen (or other tools like that)
  - may be unstable when screen itself is under test 

Options?
- shall we use expect with login?
  - would need special PAM or password in env.variable
- shall we fork one or the other upstream?
  - maintenance?

[1]: http://nstraz.wordpress.com/tag/qarsh/

Comment 1 Nick Coghlan 2012-10-17 04:37:48 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 3 Martin Styk 2020-02-11 12:07:49 UTC
Beah is no longer supported by Beaker development team.
Instead of that, we are working on Restraint test harness. You can find all the features of Restraint here.

https://restraint.readthedocs.io/en/latest/

If you think your RFE should be still implemented as part of Restraint feel free to create a new BZ ticket.

https://bugzilla.redhat.com/enter_bug.cgi?product=Restraint

In case you have any question feel free to reach out to me
Thank you,
Martin Styk <martin.styk>