User name and password change? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159) +---- Thread: User name and password change? (/showthread.php?tid=16767) |
User name and password change? - Taur10 - 06-02-2022 This may sound like an RTFM question, but the post install instructions say to go to settings->user, then click on the one user and change the password. Problem is that there's no user section in settings, at least in Arch Plasma, though it does have a lockscreen pin setting, but that doesn't work. There are instructions for changing the password via terminal, so I'll prolly use that, but I'd kind like to change the user name as well, since using the default prolly isn't the most secure thing to do. So, for someone that's never need to change, add or modify a user post install, how does one do that, or rather, how does one do that here, or is it just the same as any other Linux system (I figure there's plenty of instructions online for that)? RE: User name and password change? - billfleming11 - 07-04-2022 Use the passwd command to change password and usermod command to change username: https://man.archlinux.org/man/passwd.1.en https://wiki.archlinux.org/title/users_and_groups With the arch installs with default user "alarm" if you want to change the username to "bill" you need to either plug in a usb keyboard or headphone serial port cable, use ctrl+alt+f2 to login to terminal as root. Then you can run the following commands to change the username. Code: pkill -KILL -u alarm RE: User name and password change? - shulamy - 07-14-2022 (07-04-2022, 07:11 PM)billfleming11 Wrote: Use the passwd command to change password and usermod command to change username: it worked for me from the users section in settings today in phosh ezik RE: User name and password change? - magdesign - 07-15-2022 I am somehow not able to set a new username under arch/sxmo. What I did so far: Code: #created a new user: then plugged in an usb keyboard, hit Quote:ctrl+alt+f2 login with new user, and then as you wrote: Code: pkill -KILL -u alarm but it automatically starts again a session with user alarm and I can not go further since: Code: usermod: user alarm is currently used by process 35092 https://todo.sr.ht/~mil/sxmo-tickets/523 any hints very welcome RE: User name and password change? - AndyM - 09-24-2022 Phosh automatically starts with user 1000 (alarm in your case) This is governed bu the phosh.service from systemd: /etc/systemd/system/graphical.target.wants/phosh.service Code: [Service] of course if you change this then every time phosh is updated it will revert to User=1000. You need to change the username and home directory for user 1000 (alarm) as above |