Re: Password File Sync Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, June 19, 2006 13:44, Sashikanth Madduri wrote:
> Hi,
>      I am writing a script to update password files from the server to
> all the clients in the network.
>
> I will be copying the following files periodically to all the clients:
>
> /etc/passwd
> /etc/shadow
> /etc/group
>
> scp is one option to do the remote copying. But, root ssh is disabled
> in the clients and I cannot use scp. Is there any alternative
> way(other than scp) to do this. Do I have to enable root ssh inorder
> to do a remote copy of the above files. Please help.
>
> PS: I am not using NIS for password management.

That's crazy, not to mention dangerous.  If you are at a point where you
need a script to update your passwords, perhaps you should consider using
NIS or something.

That said, you could always enable root ssh and just disable it again.

--
Scott

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux