LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-10-2013, 02:44 PM   #31
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled

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?
 
Old 04-10-2013, 02:47 PM   #32
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
whats the output
Code:
lsb_release -a
 
1 members found this post helpful.
Old 04-10-2013, 02:47 PM   #33
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
Oh and my terminal emulator now reads across the top Terminal - root@your-new-name: /home/lisa
 
Old 04-10-2013, 02:49 PM   #34
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
Here is the output:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
 
Old 04-10-2013, 02:50 PM   #35
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I sent you an email
 
1 members found this post helpful.
Old 04-10-2013, 03:10 PM   #36
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
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
 
Old 04-10-2013, 03:14 PM   #37
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
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.
 
1 members found this post helpful.
Old 04-10-2013, 03:23 PM   #38
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
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:~$
 
Old 04-10-2013, 03:37 PM   #39
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
Okay, let's try this:
Open up a new terminal and:
Code:
sudo su
That should have you logged in as root
Then:
Code:
sudo useradd -G tsali tsali
Then
Quote:
sudo passwd tsali
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.
 
1 members found this post helpful.
Old 04-10-2013, 03:42 PM   #40
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
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#
 
Old 04-10-2013, 03:45 PM   #41
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
Actually I don't know why the new user is not added in group users. Can you post the output of
Code:
cat /etc/group
 
1 members found this post helpful.
Old 04-10-2013, 03:48 PM   #42
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
Here it is:

root@tsalli:/home/lisa# cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:lisa
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:lisa
fax:x:21:lisa
voice:x:22:
cdrom:x:24:lisa
floppy:x:25:lisa
tape:x:26:lisa
sudo:x:27:lisa
audio:x:29ulse,timidity
dip:x:30:lisa
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:lisa
sasl:x:45:
plugdev:x:46:lisa
staff:x:50:
games:x:60:
users:x:100:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
utempter:x:104:
fuse:x:105:lisa
messagebus:x:106:
bluetooth:x:107:
scanner:x:108:
colord:x:109:
lpadmin:x:110:lisa
ssl-cert:x:111:
lightdm:x:112:
nopasswdlogin:x:113:
netdev:x:114:
mlocate:x:115:
ssh:x:116:
avahi-autoipd:x:117:
avahi:x:118:
pulse:x:119:
pulse-access:x:120:
rtkit:x:121:
saned:x:122:
sambashare:x:123:lisa
vboxusers:x:124:
timidity:x:125:
winbindd_priv:x:126:
nogroup:x:65534:
lisa:x:1000:
tsali:x:1001:lisa
guest-SmeyYT:x:127:
root@tsalli:/home/lisa#
 
Old 04-10-2013, 03:53 PM   #43
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
Ok, no group 'users' that I see there

try this:
Code:
sudo useradd -g tsali tsali
which should create your user and add him to the group tsali and then:

Code:
sudo passwd tsali
which will allow you to create a password.

When you are typing the password you will not be seeing anything at all at the screen - just type and press enter
 
1 members found this post helpful.
Old 04-10-2013, 04:01 PM   #44
Tsali
Member
 
Registered: Apr 2013
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: Reputation: Disabled
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
 
Old 04-10-2013, 04:05 PM   #45
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
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
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracing Intruders connecting to our system in Redhat Linux operating system vkunasani Linux - Software 4 02-15-2010 06:23 AM
windows server 2003 as a host system for LINUX guest system VPS h@foorsa.biz Linux - General 2 09-22-2008 06:17 AM
linux server system cannot resolve name, but windows system no problem? hocheetiong Linux - Newbie 3 04-06-2008 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration