[SOLVED] I'm trying to personlize this new Linux system I have.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: I live in Northern Michigan by a lake. Aside from the bad winter times I love it up here.
Posts: 60
Original Poster
Rep:
I'm sorry, you lost me. I looked for a dash or dashboard or something in the left top corner but I found a spyglass search button on the bottom hand corner and clicked on it which brought up a search box. All was selected and I entered the name lisa which is the name on everything right now and it did nothing. What am I doing wrong? Id there a way for us to chat to make this go a bit quicker and easier to try?
Location: I live in Northern Michigan by a lake. Aside from the bad winter times I love it up here.
Posts: 60
Original Poster
Rep:
Yup, I got it and replied to it a couple of times now. lol Thank you for taking the time to help me. It's well appriciated having someone explain this to a dumbass like me. lol
Why re-install if you just want to personalize your user? Try what Tron suggested above.
I suggest you don't use capital letters for your new username.
Try:
Code:
sudo useradd tsali
Then to delete other users try:
Code:
sudo userdel <username you want to delete>
or
Code:
sudo userdel -r <username you want to delete>
(the last one will also the /home/<username> directory, so make sure to backup first files you possibly need.
Then create a password for your new user:
Code:
sudo passwd tsali
And then:
Code:
sudo tsali
to log in as your new user in the terminal.
When you reboot you should be able to log in as your new user
(better don't delete any old user until you have logged in with your new user, just in case.)
Last edited by dreamwalking; 04-10-2013 at 03:17 PM.
Location: I live in Northern Michigan by a lake. Aside from the bad winter times I love it up here.
Posts: 60
Original Poster
Rep:
Thank you Dreamwalking. This is what I got when I tried those codes:
lisa@lisa-pc:~$ gksu gedit /etc/hostname
lisa@lisa-pc:~$ $ sudo adduser Tsali
$: command not found
lisa@lisa-pc:~$ sudo adduser Tsali
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.
lisa@lisa-pc:~$ sudo hostname Tsali
lisa@lisa-pc:~$ sudo hostname your-new-name
Tsali
lisa@lisa-pc:~$ Tsali
Tsali: command not found
lisa@lisa-pc:~$ man hostname
lisa@lisa-pc:~$ sudo su
Tsali
root@your-new-name:/home/lisa# Tsali
Tsali: command not found
root@your-new-name:/home/lisa# Tsali@Tsali-PC
Tsali@Tsali-PC: command not found
root@your-new-name:/home/lisa# sudo su Tsali@Tsali-PC
Unknown id: Tsali@Tsali-PC
root@your-new-name:/home/lisa# sudo su Tsaqli@Tsali
Unknown id: Tsaqli@Tsali
root@your-new-name:/home/lisa# sudo su lisa
lisa@your-new-name:~$ sudo tsali@tsali
sudo: tsali@tsali: command not found
lisa@your-new-name:~$ sudo su tsali
Unknown id: tsali
lisa@your-new-name:~$ sudo hostname tsalli
lisa@your-new-name:~$ sudo su hostname tsalli
Unknown id: hostname
lisa@your-new-name:~$ sudo su lisa@tsali
Unknown id: lisa@tsali
lisa@your-new-name:~$ sudo su - tsali
Unknown id: tsali
lisa@your-new-name:~$ gui way
No command 'gui' found, did you mean:
Command 'ui' from package 'userinfo' (universe)
Command 'gri' from package 'gri' (universe)
Command 'gsi' from package 'gambc' (universe)
Command 'ghi' from package 'github-cli' (universe)
gui: command not found
lisa@your-new-name:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
lisa@your-new-name:~$ sudo useradd tsali
[sudo] password for lisa:
useradd: group tsali exists - if you want to add this user to that group, use -g.
lisa@your-new-name:~$ -g
-g: command not found
lisa@your-new-name:~$ -g tsali
-g: command not found
lisa@your-new-name:~$ sudo userdel lisa
userdel: user lisa is currently logged in
lisa@your-new-name:~$ sudo userdel -r lisa
userdel: user lisa is currently logged in
lisa@your-new-name:~$ sudo passwd tsali
sudo passwd: user 'tsali' does not exist
lisa@your-new-name:~$ sudo passwd tsali
sudo tsali
passwd: user 'tsali' does not exist
lisa@your-new-name:~$ sudo tsali
sudosudo: tsali: command not found
lisa@your-new-name:~$ sudo tsali
sudo: tsali: command not found
lisa@your-new-name:~$
Try this for starters. If any of the above commands fails, please don't type the next one, just copy the error message here so that we know what you've done and what went wrong.
Location: I live in Northern Michigan by a lake. Aside from the bad winter times I love it up here.
Posts: 60
Original Poster
Rep:
Ok here is what happened:
lisa@tsalli:~$ sudo su
[sudo] password for lisa:
root@tsalli:/home/lisa# sudo useradd -G tsali tsali
useradd: group tsali exists - if you want to add this user to that group, use -g.
root@tsalli:/home/lisa#
Location: I live in Northern Michigan by a lake. Aside from the bad winter times I love it up here.
Posts: 60
Original Poster
Rep:
Ok this is what happened:
lisa@tsalli:~$ sudo useradd -g tsali tsali
[sudo] password for lisa:
lisa@tsalli:~$ sudo passwd tsali
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
lisa@tsalli:~$
I'm sort of there. I'm not sure why the Tsali says tsalli but it's a start. Now that and the beginning lisa part and the other parts of that user and I'm good. lol
Okay, so let's recap:
You are logged in as user lisa right now. You have just created a user named tsali, but you haven't logged in that user yet.
Now, since I'm not sure how you can logout from Ubuntu and/or what desktop manager you use, let's try two things:
first right click somewhere on your desktop. It should invoke a menu. If it says somewhere "exit" or "logout" or something, click this and it should bring you back to some log-in manager. Then, try to log as tsali.
If this doesn't happen, then simply reboot your machine and log in as tsali
(or maybe some Ubuntu user can chime in and explain how you can log out
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.