2021-05-13 08:23:31 |
No Name |
description |
I believe usermod is in the passwd package.
Running `sudo usermod -d /home/username username` will result in correct terminal output as `username@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) |
I believe usermod is in the passwd package.
Running `sudo usermod -d /home/username username` will result in correct terminal output as `username@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) |
|