Change username and password
Is there a way to do this without using the terminal please? I have set up a netbook with Bodhi for someone else and about to post it - they may want to change the username and/or password.
Or if it does mean using the terminal - how do you do it please? :-) |
I don't know how to do it outside of a terminal session; inside it's
Code:
passwd Code:
vipw |
probably better to create a new user instead (and remove the old one?).
probably you can change the user name in /etc/passwd, but I think that is not recommended at all and may have strange side effects. |
I think editing /etc/passwd would probably work if you edited /etc/sudoers afterwards using visudo. You'd need to check for the old name and replace it where necessary with the new one. And, to be safe, you'd need to do it using a proper root login, not sudo. I don't know if you have that possibility on Bodhi. Isn't it based on Ubuntu?
If you create a new user, you will then need to do the following: 1) use chown -R to change ownership of the home directory tree to the new user. 2) use visudo to add the new user to the sudoers file with the same rights as the old user. 3) log out and then in again as the new user. 4) use visudo again to remove the old user from sudoers, and userdel to remove him/her from the passwd file. |
Quote:
|
@serendipity7000,
How about forcing the user to change his password on first login ? chage -d 0 USER would force USER to change password after first login. If this is supported by the GUI, I think it'd be a pretty acceptable thing to do. Any mode of adding new user/deleting old user might put a newbie off, and they might just lock themselves out of the machine. |
Quote:
Stefan https://i.imgur.com/5yfIbd0.jpg |
Quote:
i did this once with a Xubuntu install, and iirc it's called an "OEM install". this will do exactly what you want:
since bodhi is based on ubuntu, chances are this option is available in the installer. https://help.ubuntu.com/community/Ub...aller_Overview |
Quote:
|
manner?
no offense was intended. i'm sorry to read that you see so much negativity. |
I see the points! Yes I could reinstall and ask the new user what they want as username and password - but thought there might be another way as I set it up with all the basic software to just turn on and use :-)
Ah the gnome tools package. That might be the thing to do - will it cause any conflicts with other software? Also like the idea of forcing to choose a password when turning on. I agree the terminal is the best way - but some people are freaked by it if they haven't used it before. I used "Me" as the username which is better than "User" I reckon! Even so people seem to instinctively want to personalise it. |
Gnome stuff is OK as KDE, MATE, XFCE and other stuff is OK under Bodhi Linux. Those desktop apps are compatible. But yes, the account manager tool made under E/Moksha is missing. There is a personal project called Swami control by Jeff (the BL leader) but he lacks free time to continue. I think it could be a part of it.
Stefan |
Thank you. I'll check out the Gnome tools package :-) Personally though I like that Bodhi is so lean and simple and prefer using the terminal :-)
|
That's the goal of our distribution. To be lean and elegant :)
|
It certainly is both - I love it :-) Fast as well.
|
All times are GMT -5. The time now is 12:03 PM. |