argosopentech / argosopentech/argos-train

Home not set when changing users on Vast.ai

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
158
Forks
29
PR merge metrics
No merged PRs in 30d

Description

```
$ su argosopentech
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

bash: /root/.bashrc: Permission denied
argosopentech@38cdf913bb14:~$ echo $HOME
/root
argosopentech@38cdf913bb14:~$ export HOME="/home/argosopentech"

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported `su argosopentech` session and inspect how `HOME` remains `/root` while Bash reads `/root/.bashrc`. Check the user-switching environment and shell startup behavior; done means the switched user gets its own home directory without the `/root/.bashrc` permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.