scripts, docs: Use root instead of NIAuth admin for target access#354
Open
shubhanshumt26 wants to merge 2 commits into
Open
scripts, docs: Use root instead of NIAuth admin for target access#354shubhanshumt26 wants to merge 2 commits into
shubhanshumt26 wants to merge 2 commits into
Conversation
5f20bc1 to
0f1f40c
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates developer-facing scripts and documentation to use the local root user (instead of the NIAuth-backed admin user) when logging into or copying artifacts to a target, aligning with the move away from NIAuth NSS/PAM modules.
Changes:
- Updated provisioning Expect tests to log in as
root. - Updated upstream merge test utility to copy the safemode image to
/home/root. - Updated kernel README commands to use
root@$TARGETforssh/scp.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| scripts/tests/provisioning/test_safemode_provision.expect | Switches VM login user from admin to root for safemode provisioning tests. |
| scripts/tests/provisioning/test_rauc_provision.expect | Switches VM login user from admin to root for RAUC provisioning tests. |
| scripts/tests/provisioning/migrate_vm_to_safemode.expect | Switches VM login user from admin to root during migration-to-safemode flow. |
| scripts/dev/upstream_merge/utils/test.py | Updates safemode image SCP destination from /home/admin to /home/root. |
| docs/README.kernel.md | Updates documented target access commands from admin@$TARGET to root@$TARGET. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0f1f40c to
3a49c6d
Compare
3a49c6d to
2bc1b44
Compare
chaitu236
requested changes
Jul 7, 2026
2bc1b44 to
d0f0a01
Compare
d0f0a01 to
e62be62
Compare
The system login is moving off the NIAuth-backed "admin" user to the local "root" user, since ni-auth no longer ships the NSS/PAM modules that resolved the admin identity. Update the helper scripts and docs with admin->root that log in to or reference the target accordingly.
Root's home moved from the OE default /home/root to /root (ROOT_HOME). Update the fio test targets and the safemode scp destination to /root.
e62be62 to
2b7d3fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Justification
AB#3650235
Changes
The system login is moving off the NIAuth-backed "admin" user to the local "root" user, since ni-auth no longer ships the NSS/PAM modules that resolved the admin identity.
Update the scripts and docs that log in to or reference the target accordingly:
admin -> root.scp/ssh path :/home/admin -> :/root. (FYI)admin@$TARGET -> root@$TARGET.fio-teststo use/rootas rootHOME_DIR.Testing
Performed testing under this meta-nilrt PR that has all the functional changes.
FYI: This needs to be merged only once meta-nilrt PR is merged.