0

I've installed Linux Mint on my old laptop.

I created a username with the temporary use in mind so it is not that good name and I want to change it.

I know how to change username and rename the home-directory + username's group.

I just tested this thing on a new account with nothing installed or configurated, so it did not show any problems....

But I have tons of stuff on my own user and I want to know if there are some caveats to changing username.

Like some files that use username for different things, does the system automatically link the username changes to all these dependencies or do I have to manually use symlink between the old and new usernames? Or something similar?

Can username change cause that some programs/system-files dont work because they are looking for the old name or anything else like that?

0

No. If you use a proper method like usermod command rather than messing with the system files, it won't do any harm. It will reflect the changed username on all the necessary files.

This is because of Linux os functionalities bound with the user ID but not with the user name

you can read more about usermod command here. https://linux.die.net/man/8/usermod

Or simply man usermod

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.