Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-15-2005, 09:37 PM   #1
Registered: Jul 2004
Location: Dominica
Distribution: CentOS
Posts: 35

Rep: Reputation: 15
Create new shadow and gshadow files-HOW?

How can i create new /etc/shadow and /etc/gshadow files from the etc/passwd and etc/group files respectively.

I moved my complete samba installation - users and groups to a new HDD but forgot the shadow files. Running for a week now and passwords changed and users added so I do not want to go back to the old shadow files.
Old 03-16-2005, 02:07 PM   #2
LQ Newbie
Registered: Feb 2005
Location: Carlisle, PA
Distribution: Red Hat Enterprise WS 3
Posts: 17

Rep: Reputation: 0
You're getting a reply because I'm responding to Jeremy's request for help with zero reply questions; I am not an expert! However, in this case I might have a useful suggestion: if you don't know about webmin, it may help solve your problems. This is a free, browser-based system administrator's tool. It has easy, straightforward support for stuff like password assignments. Download it from and install it as a root tool. It'll place a link in your bookmarks to log in with your usual root PW; it's mostly a local system, using a local server on your own computer (although some stuff, like info and updates for webmin itself take you out to remote locations). I've been using it for some time and it is ideal for those of us who don't have a lot of experience managing a Linux installation.


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
samba and shadow password files duffboygrim Linux - Networking 1 10-06-2004 12:33 AM
Passwd and Shadow files synchronisation sandras Linux - Software 3 08-04-2004 11:09 AM
splitting up the passwd and shadow files Burgin Linux - General 1 07-26-2004 10:39 PM
Linux, Create Dirs=no, Create files=yes. Possible? tisource Linux - General 4 01-12-2004 11:05 PM
How are shadow files updated? bleistein Linux - Security 1 08-01-2003 01:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 PM.

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