Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Bruno Piche on August 12, 2003, 09:44:54 AM
-
Was looking to solve an issue with my smb.conf and expanded the smbpasswd template by mistake. It completely wipped all content from my smbpasswd file. Is there a way to recreate it from either /home/e-smith/accounts or passwd? Thanks in advance.
-
I found that if I log into the server-manager and reset the password for a user it regenerates the smbpasswd file but I am still looking for a better way.
-
What I do BEFORE I do any mods to a file is this:
cp smb.conf smb.conf.bk01
Then you modify the file as you wish.
If you goof, you can always return back to the original file with a backout procedure.
cp smb.conf.bk01 smb.conf
I always prefer to prevent a problem than to fix a problem.
-
Bruno Piche wrote:
> I found that if I log into the server-manager and reset the
> password for a user it regenerates the smbpasswd file but I
> am still looking for a better way.
There isn't one.
Charlie
-
Just an idea....If you have a backup to desktop, you can use zip software to extract this file from the .gz backup file. I have used winzip 8.1 for windows to extract files from my .gz backup...
ryan