LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices

Reply
 
Search this Thread
Old 02-15-2006, 11:12 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Rep: Reputation: 31
Upgrade Issue


alright!

i just updated to the latest and greatest mepis... only to figure out that i transposed my username and password so i'm logged into a dfferent account.

do i create a another with my old username in order to get my old desktop back?

uif i do that, how will i destroy my old desktop?

how should i proceed?

i'd appreciate a quick hint how to create another user, if that is the route i ought to take.

tia...
 
Old 02-16-2006, 06:15 AM   #2
mhl
Member
 
Registered: Aug 2003
Location: Scottish exile in England
Distribution: Mepis, Ubuntu, Mint, virtual Mandriva
Posts: 91

Rep: Reputation: 15
I would be inclined to add a user corresponding to your old username.

At the commandline (Konsole), su (to gain root priviliges). You will be prompted for the root password. Then adduser <oldusername>. You will be told that there is already a /home directory for <oldusername> and asked if you want to re-use this - answer 'yes'. One or two more routine questions and that's you done. Log out from your <newusername> id and login as <oldusername>. You can now remove <newusername> if you want.
 
Old 02-17-2006, 10:35 AM   #3
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mhl
I would be inclined to add a user corresponding to your old username.

At the commandline (Konsole), su (to gain root priviliges). You will be prompted for the root password. Then adduser <oldusername>. You will be told that there is already a /home directory for <oldusername> and asked if you want to re-use this - answer 'yes'. One or two more routine questions and that's you done. Log out from your <newusername> id and login as <oldusername>. You can now remove <newusername> if you want.
i will give it a shot.

thanks.
 
Old 02-21-2006, 08:06 PM   #4
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mhl
I would be inclined to add a user corresponding to your old username.

At the commandline (Konsole), su (to gain root priviliges). You will be prompted for the root password. Then adduser <oldusername>. You will be told that there is already a /home directory for <oldusername> and asked if you want to re-use this - answer 'yes'. One or two more routine questions and that's you done. Log out from your <newusername> id and login as <oldusername>. You can now remove <newusername> if you want.
i didn't get results consistent with your outline. here are my results...

gnew@1[~]$ su
Password:
root@1[gnew]# adduser ski23
Adding user `ski23'...
Adding new user `ski23' (1001) with group `users'.
The home directory `/home/ski23' already exists. Not copying from `/etc/skel'
adduser: Warning: that home directory does not belong to the user you are currently creating
Enter new UNIX password:

i stopped here w/o entering a password b/c i don't want to destroy ski23's home directory. i'm not sure what the reference to the directory not belonging to the owner means.
 
Old 02-22-2006, 03:29 AM   #5
mhl
Member
 
Registered: Aug 2003
Location: Scottish exile in England
Distribution: Mepis, Ubuntu, Mint, virtual Mandriva
Posts: 91

Rep: Reputation: 15
Quote:
Originally Posted by GNewbie
i didn't get results consistent with your outline. here are my results...

gnew@1[~]$ su
Password:
root@1[gnew]# adduser ski23
Adding user `ski23'...
Adding new user `ski23' (1001) with group `users'.
The home directory `/home/ski23' already exists. Not copying from `/etc/skel'
adduser: Warning: that home directory does not belong to the user you are currently creating
Enter new UNIX password:

i stopped here w/o entering a password b/c i don't want to destroy ski23's home directory. i'm not sure what the reference to the directory not belonging to the owner means.
That is exactly what you should get. I can't explain the warning "that home directory does not belong to the user you are currently creating" and it looks a bit off-putting. But, believe me, I have carried out upgrades of Mepis on several occasions now, preserving /home and restoring users from the previous version .... this IS what to expect. I have just been through it again to satisfy myself --


root@1[mike]# adduser administrator
Adding user `administrator'...
Adding new user `administrator' (1004) with group `users'.
The home directory `/home/administrator' already exists. Not copyin
g from `/etc/skel'
adduser: Warning: that home directory does not belong to the user yo
u are currently creating
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for administrator
Enter the new value, or press ENTER for the default
Full Name []: administrator
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
Processing configuration file /etc/adduser.local.conf
adduser.local: Directory /etc/skel.other does not exist
Processing service "cdrom"
Adding user "administrator" to group "cdrom"
Processing service "floppy"
Adding user "administrator" to group "floppy"
Processing service "audio"
Adding user "administrator" to group "audio"
Processing service "dip"
Adding user "administrator" to group "dip"
Processing service "camera"
Adding user "administrator" to group "camera"
Processing service "cdrecording"
Adding user "administrator" to group "cdrecording"
Processing service "dialout"
Adding user "administrator" to group "dialout"
Processing service "disk"
Adding user "administrator" to group "disk"
Processing service "fax"
Adding user "administrator" to group "fax"
Processing service "games"
Adding user "administrator" to group "games"
Processing service "lp"
Adding user "administrator" to group "lp"
Processing service "plugdev"
Adding user "administrator" to group "plugdev"
Processing service "scanner"
Adding user "administrator" to group "scanner"
Processing service "sudo"
Adding user "administrator" to group "sudo"
Processing service "tape"
Adding user "administrator" to group "tape"
Processing service "tty"
Adding user "administrator" to group "tty"
Processing service "usb"
Adding user "administrator" to group "usb"
Processing service "uucp"
Adding user "administrator" to group "uucp"
Processing service "video"
Adding user "administrator" to group "video"
Processing service "voice"
Adding user "administrator" to group "voice"
root@1[mike]#


Just make sure you retain the same password for user <ski23>. You won't destroy the /home directory.

Last edited by mhl; 02-22-2006 at 03:35 AM.
 
Old 02-23-2006, 10:45 AM   #6
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Original Poster
Rep: Reputation: 31
thank you. i'm a little gun shy being new to linux. EOM.

Quote:
Originally Posted by mhl
That is exactly what you should get. I can't explain the warning "that home directory does not belong to the user you are currently creating" and it looks a bit off-putting. But, believe me, I have carried out upgrades of Mepis on several occasions now, preserving /home and restoring users from the previous version .... this IS what to expect. I have just been through it again to satisfy myself --


root@1[mike]# adduser administrator
Adding user `administrator'...
Adding new user `administrator' (1004) with group `users'.
The home directory `/home/administrator' already exists. Not copyin
g from `/etc/skel'
adduser: Warning: that home directory does not belong to the user yo
u are currently creating
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for administrator
Enter the new value, or press ENTER for the default
Full Name []: administrator
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
Processing configuration file /etc/adduser.local.conf
adduser.local: Directory /etc/skel.other does not exist
Processing service "cdrom"
Adding user "administrator" to group "cdrom"
Processing service "floppy"
Adding user "administrator" to group "floppy"
Processing service "audio"
Adding user "administrator" to group "audio"
Processing service "dip"
Adding user "administrator" to group "dip"
Processing service "camera"
Adding user "administrator" to group "camera"
Processing service "cdrecording"
Adding user "administrator" to group "cdrecording"
Processing service "dialout"
Adding user "administrator" to group "dialout"
Processing service "disk"
Adding user "administrator" to group "disk"
Processing service "fax"
Adding user "administrator" to group "fax"
Processing service "games"
Adding user "administrator" to group "games"
Processing service "lp"
Adding user "administrator" to group "lp"
Processing service "plugdev"
Adding user "administrator" to group "plugdev"
Processing service "scanner"
Adding user "administrator" to group "scanner"
Processing service "sudo"
Adding user "administrator" to group "sudo"
Processing service "tape"
Adding user "administrator" to group "tape"
Processing service "tty"
Adding user "administrator" to group "tty"
Processing service "usb"
Adding user "administrator" to group "usb"
Processing service "uucp"
Adding user "administrator" to group "uucp"
Processing service "video"
Adding user "administrator" to group "video"
Processing service "voice"
Adding user "administrator" to group "voice"
root@1[mike]#


Just make sure you retain the same password for user <ski23>. You won't destroy the /home directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Post 10.1-to-2006 upgrade, cdrom drive issue toes Mandriva 1 12-25-2005 04:31 PM
help debian sound issue after kernel upgrade Lleb_KCir Linux - Software 6 07-11-2005 10:34 AM
Odd package upgrade issue OneBinary Debian 2 04-26-2005 02:18 PM
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
FC2->FC3 Upgrade Issue imemyself Fedora 0 11-09-2004 06:46 PM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration