usermod: -m/--move-home is not implemented
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- authentication, cli
Direzione di ricerca
Read the usermod(8) behavior described in the issue and inspect the usermod implementation and its existing tests in the repository; no file or test path is named in the payload. Start by locating how -d and user ownership changes are handled. Done means -m works with -d, with the listed move, failure, and ownership behaviors covered by tests; pull request #350 is already open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
usermod(8) documents -m, --move-home (with -d), and #242 listed it as missing; it still is. usermod -d NEW -m USER is what Ansible's user module runs for move_home: yes:
# useradd -m alice
# usermod -d /home/new -m alice
GNU: exit 0, /home/alice moved to /home/new
shadow-rs: error: unexpected argument '-m' found (exit 2), nothing changed
GNU behaviour, checked as a black box (GNU shadow 4.17.4, Ubuntu 26.04):
- same filesystem: rename; across filesystems: copy keeping owners, modes, times, hard links, symlinks and fifos, then the old tree is removed
/etc/passwdis updated first and stays updated if the move fails- new path exists:
directory /home/new exists, exit 12; rename fails:cannot rename directory A to B, exit 12 - old home missing: a warning, exit 0
-mwithout-d: usage error, exit 2- with
-u/-g, the moved home is re-owned
shadow-rs main 2e1032a.
- Lingua principale
- Rust
- Stelle
- 17
- Fork
- 10
- Merge medio
- 18h 30m
- PR unite (30g)
- 24
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di uutils/shadow
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
pwck: warnings and "no changes" on clean files, nothing after problemsForse già presa @jayhemnani9910 l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
I maintainer di solito rispondono entro 1 giorno
-
usermod: -u and -g exit 0 on a symlinked home, GNU exits 12Forse già presa @pierre-warnier l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Dependency DashboardAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di uutils/shadow
Issue simili
-
component:benchmark
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
agentic-os-org/ANOLISA#9177 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oracle/rust-oracledb#61 ·
-
bug priority-medium to-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
Databricks tool-only response crashes in resolve_reasoning_and_content with KeyError: contentForse già presa @1divyanshdev l’ha presa oggi. Apertallm translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
BerriAI/litellm#48637 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno