kingToolbox / kingToolbox/WindTerm

Add LoginScript to OneKey

Open
#1,718 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Can the OneKey function be enhanced to include a login script, such as executing "su" to switch to the root user after successful login? I see that this feature is already available in the Expect type of OneKey function, but I would like to combine the two. After logging in normally with OneKey and the key file, I would like to use the Expect function to switch to the root user or execute other commands.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the existing OneKey and Expect implementations, then determine how a login script should run after key-based login. Done means OneKey supports post-login commands such as switching to root with su while preserving its normal login behavior, with coverage for this path if the project provides it.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
authentication, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.