From: Jim Reimer <jdr@wa5rrh.org>
To: Adam@Luchjenbroers.com
Cc: linux-newbie@vger.kernel.org
Subject: Re: A few questions
Date: Mon, 02 Dec 2002 09:31:38 -0600 [thread overview]
Message-ID: <3DEB7CDA.7090809@wa5rrh.org> (raw)
In-Reply-To: <200212030023.37632.Adam@Luchjenbroers.com>
Adam Luchjenbroers wrote:
> On Monday 02 Dec 2002 11:56 pm, dashielljt wrote:
>
>>You'd want to do more than one tar command of the form:
>>tar zcvf user1.tar.gz /home/user1/
>>tar zcvf user2.tar.gz /home/user2/
>>and so on. You'd have to specify the path of user1.tar.gz like where it
>>was going to go and the same for the other archive files too.
>
>
> Home directories are on a seperate partition, what I want to back up is the
> actual password/account list.
>
> /etc/passwd seems to hold some of this, but it doesn't appear to show the
> actual password hashes (unless cat is programmed to replace them all with a
> 'x').
The 'x' indicates that you have passwords shadowed (they are held in a
seperate file readable only by root).
You can either unshadow the passwords while you do the backup
(man pwconv) or just backup the shadow file along with everything
else, which is probably less trouble. You need to save these files:
/etc/passwd
/etc/group
/etc/shadow
/etc/gshadow
Since the shadow files are readable only by root, you'll obviously
have to be logged in as root to do the backup.
-jdr-
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2002-12-02 15:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-01 11:02 A few questions Adam Luchjenbroers
2002-12-01 13:06 ` dashielljt
2002-12-02 6:56 ` Adam Luchjenbroers
2002-12-02 14:26 ` dashielljt
2002-12-02 14:53 ` Adam Luchjenbroers
2002-12-02 15:31 ` Jim Reimer [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-07 15:15 Yao
2012-03-07 15:52 ` Eric Paris
2012-03-07 15:57 ` David Quigley
2012-03-07 16:23 ` Stephen Smalley
2008-03-04 17:34 Mat
2008-03-04 1:04 Alex Caudill
[not found] ` <81E34349-D837-40A3-94F5-E314AAC43396@telegraphics.com.au>
2008-03-04 7:53 ` Alex Caudill
[not found] ` <b8d16a880803040025s2bac98eaq7eb24713d3c46196@mail.gmail.com>
2008-03-04 8:57 ` Alex Caudill
2008-03-04 14:22 ` Toby Thain
2008-03-04 20:13 ` Jeff Mahoney
2008-03-04 22:06 ` Alex Caudill
2008-03-24 0:18 ` Edward Shishkin
2005-02-02 0:19 Ian Pratt
2005-02-02 0:04 Hugo Silva
2005-02-02 0:19 ` Mark Williamson
2004-01-31 10:06 Stefan Berndtsson
2004-01-31 10:46 ` Benjamin Herrenschmidt
2004-01-31 15:44 ` Stefan Berndtsson
2004-02-02 8:36 ` Stefan Berndtsson
2002-11-15 8:20 Rocco Stanzione
2002-11-15 19:21 ` Nix N. Nix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DEB7CDA.7090809@wa5rrh.org \
--to=jdr@wa5rrh.org \
--cc=Adam@Luchjenbroers.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.