To be able to just ssh hostname instead of ssh benjamin@hostname for instance.
Specifying the last name seems appropriate for possible machine multiple users usage such company servers which happened at DFINITY, even if in these cases I do not choose my username in general.
While precising the last name can be heavier, I think it is more appropriate.
However, have to make sure not to break anything when doing such a change. As far as I know I can't break important stuff, especially as I do not propose a significant service in production as far as I remember.
To be able to just `ssh hostname` instead of `ssh benjamin@hostname` for instance.
Specifying the last name seems appropriate for possible machine multiple users usage such company servers which happened at DFINITY, even if in these cases I do not choose my username in general.
While precising the last name can be heavier, I think it is more appropriate.
However, have to make sure not to break anything when doing such a change. As far as I know I can't break important stuff, especially as I do not propose a significant service in production as far as I remember.
Related to [Benjamin_Loison/Debian/issues/55](https://codeberg.org/Benjamin_Loison/Debian/issues/55).
+5
In theory it could be dangerous to some extent in public space for people to help identify me through my device or the other way around but let us accept that.
In theory it could be dangerous to some extent in public space for people to help identify me through my device or the other way around but let us accept that.
seems to stuck on OverClock3000 (but not LemnosLife VPS) but once ctrl + c only see /home/benjamin_loison/ and no more /home/benjamin/.
```bash
sudo adduser linux_issues_37
sudo adduser linux_issues_37 sudo
```
```bash
adduser --help
```
<details>
<summary>Output:</summary>
```
adduser [--extrausers] USER GROUP
Add an existing user to an existing group
```
</details>
```bash
usermod --help | grep -w '\-l'
```
```
-l, --login NEW_LOGIN new value of the login name
```
```bash
groupmod --help | grep -w '\-n'
```
```
-n, --new-name NEW_GROUP change the name to NEW_GROUP
```
<details>
<summary>Bash script:</summary>
```bash
sudo usermod -l benjamin{_loison,}
sudo groupmod -n benjamin{_loison,}
```
</details>
```bash
sudo usermod -d /home/benjamin_loison -m benjamin_loison
```
seems to stuck on OverClock3000 (but not LemnosLife VPS) but once <kbd>ctrl</kbd> + <kbd>c</kbd> only see `/home/benjamin_loison/` and no more `/home/benjamin/`.
Despite modifying symlinks .{ecryptfs,Private} (and associated permissions), Private.mnt, /home/benjamin{,_loison} I am unable to rename my user correctly. However, I am able to revert my failing changes.
Should experiment and document step by step in a virtual machine.
Should first verify being able to proceed on a Linux environment without home encryption.
-d, --home HOME_DIR new home directory for the user account
new location (use only with -d)
[The Ask Ubuntu comment 1072117](https://askubuntu.com/questions/34074/how-do-i-change-my-username/34075#comment1072117_34075).
Despite modifying symlinks `.{ecryptfs,Private}` (and associated permissions), `Private.mnt`, `/home/benjamin{,_loison}` I am unable to rename my user correctly. However, I am able to revert my failing changes.
Should experiment and document step by step in a virtual machine.
Should first verify being able to proceed on a Linux environment without home encryption.
Should give a try to:
```bash
sudo usermod -d /home/benjamin_loison -m benjamin_loison
```
```bash
usermod --help | grep -w '\-d'
```
<details>
<summary>Output:</summary>
```
-d, --home HOME_DIR new home directory for the user account
new location (use only with -d)
```
</details>
```bash
sudo mv /var/spool/cron/crontabs/benjamin{,_loison}
```
Related to [Benjamin-Loison/termux-app/issues/48](https://github.com/Benjamin-Loison/termux-app/issues/48).
I had to modify on LemnosLife VPS /etc/pam.scripts/ssh_alert.sh. Hardcoding the UID may be less user-friendly and not necessary as I do not plan to modify my username in the forseeable future.
I had to modify on LemnosLife VPS `/etc/pam.scripts/ssh_alert.sh`. Hardcoding the UID may be less user-friendly and not necessary as I do not plan to modify my username in the forseeable future.
-c cd etebase/ && .venv/bin/uvicorn etebase_server.asgi:application --uds /tmp/etebase_server.sock
bash: line 1: .venv/bin/uvicorn: cannot execute: required file not found
The Ask Ubuntu answer 1105522 leads to a login loop, even if try twice. Maybe because I forgot to edit Private.mnt. Now on my Debian 12 GNOME PegasusLinux Mint (trust) Virtual Machine Manager virtual machine it works fine.
[The Ask Ubuntu answer 1105522](https://askubuntu.com/a/1105522) leads to a login loop, even if try twice. Maybe because I forgot to edit `Private.mnt`. Now on my Debian 12 GNOME *Pegasus* *Linux Mint (trust)* Virtual Machine Manager virtual machine it works fine.
[Benjamin_Loison/coreutils/issues/15](https://codeberg.org/Benjamin_Loison/coreutils/issues/15) and [Benjamin_Loison/grep/issues/1](https://codeberg.org/Benjamin_Loison/grep/issues/1) can help.
clear
LOGS_FILE=logs.txt
date
time sudo grep -rI '/home/benjamin/' / --exclude=$LOGS_FILE| tee $LOGS_FILE| awk '{ printf "%d\r", NR } END { print NR }'
```bash
clear
LOGS_FILE=logs.txt
date
time sudo grep -rI '/home/benjamin/' / --exclude=$LOGS_FILE | tee $LOGS_FILE | awk '{ printf "%d\r", NR } END { print NR }'
```
[Benjamin_Loison/grep/issues/2](https://codeberg.org/Benjamin_Loison/grep/issues/2) would help.
Related to [Benjamin-Loison/cinnamon/issues/155#issuecomment-2544137685](https://github.com/Benjamin-Loison/cinnamon/issues/155#issuecomment-2544137685).
<details>
<summary>Should also consider the user I have on:</summary>
```
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAG5Ny0dhcoujgegbkmw8OJOUep/nf/9e88F4aw0f+olcw
cBb726kbyo35+YBl1pbX8OWwTMX8gyAJ87C1OKY2aP8S8iva0O8+UWmJ+qMcw0Ai
0joBRJQ/ws54WYbtzbxV4nNInMQDOlbVckhZRUKaR/nNSi/iSzI0KYyCH0rCRwih
agTPinNQwvuIHzmV
=OO4a
-----END PGP MESSAGE-----
```
</details>
On my Linux Mint 22.2 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine, I also had to modify /etc/shadow to replace benjamin with benjamin_loison in order to login both with ctrl + alt + FN and graphically.
On my Linux Mint 22.2 Cinnamon Framework 13 Virtual Machine Manager *Linux Mint (trust)* virtual machine, I also had to modify `/etc/shadow` to replace `benjamin` with `benjamin_loison` in order to login both with <kbd>ctrl</kbd> + <kbd>alt</kbd> + <kbd>F*N*</kbd> and graphically.
[sudo] password for benjamin_loison:
Sorry, user benjamin_loison is not allowed to execute '/usr/bin/whoami' as root on benjamin-loison-fw-vb-mint-trust.
even after having changed benjamin to benjamin_loison in visudo.
```
sudo whoami
```
<details>
<summary>Output:</summary>
```
[sudo] password for benjamin_loison:
Sorry, user benjamin_loison is not allowed to execute '/usr/bin/whoami' as root on benjamin-loison-fw-vb-mint-trust.
```
</details>
even after having changed `benjamin` to `benjamin_loison` in `visudo`.
Related to [Benjamin_Loison/tchap-web-v4/issues/2#issuecomment-8205686](https://codeberg.org/Benjamin_Loison/tchap-web-v4/issues/2#issuecomment-8205686).


Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
To be able to just
ssh hostnameinstead ofssh benjamin@hostnamefor instance.Specifying the last name seems appropriate for possible machine multiple users usage such company servers which happened at DFINITY, even if in these cases I do not choose my username in general.
While precising the last name can be heavier, I think it is more appropriate.
However, have to make sure not to break anything when doing such a change. As far as I know I can't break important stuff, especially as I do not propose a significant service in production as far as I remember.
Related to Benjamin_Loison/Debian/issues/55.
+5
At least need it now on my Linux Mint 22 Cinnamon Framework 13, OverClock3000 and LemnosLife VPS.
In theory it could be dangerous to some extent in public space for people to help identify me through my device or the other way around but let us accept that.
Benjamin-Loison/KeePassDX/issues/4 would help.
Output:
Output:
is still blocking.
After reboot:
Output:
is still blocking.
Related to Benjamin-Loison/cinnamon/issues/170.
Bash script:
Output:
Bash script:
seems to stuck on OverClock3000 (but not LemnosLife VPS) but once ctrl + c only see
/home/benjamin_loison/and no more/home/benjamin/.The Ask Ubuntu comment 1072117.
Despite modifying symlinks
.{ecryptfs,Private}(and associated permissions),Private.mnt,/home/benjamin{,_loison}I am unable to rename my user correctly. However, I am able to revert my failing changes.Should experiment and document step by step in a virtual machine.
Should first verify being able to proceed on a Linux environment without home encryption.
Should give a try to:
Output:
Bash script:
Related to Benjamin-Loison/termux-app/issues/48.
I had to modify on LemnosLife VPS
/etc/pam.scripts/ssh_alert.sh. Hardcoding the UID may be less user-friendly and not necessary as I do not plan to modify my username in the forseeable future.Output:
on OverClock3000.
Output:
Source: https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$UTPhXUZFV_i1g0yokDPvjcZx7RSFn_14JRleqcgeSHs
Source: the Stack Overlow answer 1583282
Benjamin_Loison/findutils/issues/{1,2} would help.
Unclear if all parts of this command are necessary?
Output:
Related to Benjamin-Loison/cpython/issues/60.
DuckDuckGo and Google search Linux Mint Cinnamon rename home encrypted user.
The Ask Ubuntu answer 1105522 leads to a login loop, even if try twice. Maybe because I forgot to edit
Private.mnt. Now on my Debian 12 GNOME Pegasus Linux Mint (trust) Virtual Machine Manager virtual machine it works fine.The Super User answer 404137 may help.
helps repair broken Firefox otherwise it seems to work fine.
Benjamin_Loison/coreutils/issues/15 and Benjamin_Loison/grep/issues/1 can help.
Benjamin_Loison/grep/issues/2 would help.
Once have modified
/home/benjamin/with/home/benjamin_loison/in all files, at least text ones, then can remove/home/benjamin/symbolic link.Can just try to patch issues I face otherwise but some may be unclear like with Firefox and some stuff may silently break.
At least I achieved renaming my user, even if it is not absolutely clean.
Fresh home encrypted configuration:
Related to Benjamin-Loison/cinnamon/issues/155#issuecomment-2544137685.
Maybe related to Benjamin_Loison/Remmina/issues/17.
Also had to modify
/etc/passwdon my Ubuntu 24.04.1 work laptop, otherwise faced a login loop.Maybe related to Benjamin-Loison/pyzo/issues/49.
Should also consider the user I have on:
On my Linux Mint 22.2 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine, I also had to modify
/etc/shadowto replacebenjaminwithbenjamin_loisonin order to login both with ctrl + alt + FN and graphically.To avoid boot loop on Linux Mint (not trust) virtual machine, I had to reboot.
On my Linux Mint 22.2 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine:
Note that also have to modify
visudo.Output:
even after having changed
benjamintobenjamin_loisoninvisudo.does not return anything.
Rebooting solved
sudoissue:Output:
The Ask Ubuntu question 665950 was relevant to me.
On Linux Mint (not trust):
After
sedand reboot:Output:
Maybe related to Benjamin-Loison/cinnamon/issues/218.
Related to Benjamin_Loison/tchap-web-v4/issues/2#issuecomment-8205686.