We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,676 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

linux backup

Hallo there,

I have Debian 6.0.6

can you suggest me what is the best way to recover user accounts?

I have a full copy of all data and I having problems recovering it.

Thanks advance...

3
Contributors
5
Replies
4 Days
Discussion Span
6 Months Ago
Last Updated
8
Views
Question
Answered
kv79
Posting Whiz in Training
299 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
Skill Endorsements: 0

Not enough information. If you have a copy of the data, and you have root (admin) privileges, then you should be able to access any of that data.

Next, what do you mean by "recover user accounts". Recover data? Restore user account to active status on the system? What?

rubberman
Posting Maven
2,571 posts since Mar 2010
Reputation Points: 365
Solved Threads: 305
Skill Endorsements: 51

Hi there,

thank you for your response...
I am able to aceess files, but here is the thing....
I have one pc that is running Debian.
I have second pc that is for restoring first one.

I installed Debian on second machine and copies all data from the first one and I can access them.

So the problem is, when I installed Debian on second machine I also created new root user and I have +4 account that have user-generated content.

Also I can acceess all data and simulate users by adding new users and setting up their passwords.

But the problem is that if I want to acccess PC with the Desktop on Second machine.
I got erros and the Linux Desktop on second machine is frozen.

kv79
Posting Whiz in Training
299 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
Skill Endorsements: 0

You are not being very clear about "User Accounts" and what exactly your problems are. You just say it doesn't work, so what I say below I am guessing a bit

There are two separate ways of refering to the account - by the name the user logs in as - so if he logs in as "user" his data is typically stored in /home/user and subdirectories under it.

Secondly - each user has a "uid" (user id) which is a number normally for users starting at 1000 and increasing. The mapping from user to uid is in the /etc/passwd file. Controlling file access is via uid.

If you copy data between machines and the uids of the users don't match, then you will have access problems.

akc42
Newbie Poster
1 post since Apr 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

Thanks for the post,
Group information is stored in /etc/group

I think that I missed this one.. thanks for the help...

kv79
Posting Whiz in Training
299 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
Skill Endorsements: 0
kv79
Posting Whiz in Training
299 posts since Nov 2007
Reputation Points: 30
Solved Threads: 7
Skill Endorsements: 0
Question Answered as of 6 Months Ago by rubberman and akc42

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0714 seconds using 2.69MB