Skip to content

Recreate samba user after backup restore #871

Description

@obsy
root@Gargoyle:~# cat /etc/config/share_users 

config user 'test'
	option password_salt 'ZxADAK40IF3W2qW41MPF2'
	option password_sha1 'a54a6b0a873e41f9feffb2a77c7705c75866da0c '

user test with password test. After backup restore and/or /etc/init.d/share_users start I have

root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/tmp/share_home/anonymous:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
dnsmasq:x:453:453:dnsmasq:/var/run/dnsmasq:/bin/false
nfs:x:65536:65536:nfs:/var/run/nfs:/bin/false
rpc:x:65533:65533:rpc:/var/run/rpc:/bin/false
:/tmp/share_home/test:/bin/false

No user in passwd file. Because https://github.com/ericpaulbishop/gargoyle/blob/master/package/share-users/files/share_users.init#L43 and https://github.com/ericpaulbishop/gargoyle/blob/master/package/share-users/files/share_users.init#L70 - passwd is not stored in config?

BTW, gargoyle 1.13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions