[Bug 1928309] Re: usermod change home directory no tilde
Ubuntu Foundations Team Bug Bot
1928309 at bugs.launchpad.net
Thu May 13 12:10:04 UTC 2021
** Package changed: ubuntu => shadow (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1928309
Title:
usermod change home directory no tilde
Status in shadow package in Ubuntu:
New
Bug description:
I believe usermod is in the passwd package.
Running `sudo usermod -d /home/username username` will result in
correct terminal output as `username at hostname:~$`
But running `sudo usermod -d /home/username/ username` will output
`username@/home/username:~$`, since usermod does not drop the trailing
forward slash and the string "/home/username/" does not match with
"/home/username".
This is a result of tab completion causing the extra forward slash.
This bug is purely cosmetic.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: passwd 1:4.8.1-1ubuntu5.20.04
ProcVersionSignature: User Name 5.4.0-1048.50-aws 5.4.106
Uname: Linux 5.4.0-1048-aws x86_64
ApportVersion: 2.20.11-0ubuntu27.17
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu May 13 08:08:56 2021
Ec2AMI: ami-0d382e80be7ffdae5
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-1b
Ec2InstanceType: c5n.4xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1928309/+subscriptions
More information about the foundations-bugs
mailing list