Re: Antivirus in FC3?

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

 



On Sun, 2005-03-20 at 14:17 -0700, Craig White wrote:
> ----
> If you're not already running samba then you have to configure samba so
> there would be the additional infrastructure.
> 
> If you've got more than one 'Linux' computer, how hard is it to ?
> 
> getent passwd | awk -F: '$3 > 499 && $3 < 10000 { print }' | grep -v '\
> $' > /root/passwd.txt
> getent shadow | awk -F: '$3 > 499 && $3 < 10000 { print }' | grep -v '\
> $' > /root/shadow.txt
> getent group | awk -F: '$3 > 499 && $3 < 10000 { print }' | grep -v '\
> $' > /root/group.txt
> 
> copy these 3 files to the other 'Linux' machines and then simply cat
> them onto the existing passwd/shadow/group files...
> 
> cat passwd.txt >> /etc/passwd
> cat shadow.txt >> /etc/shadow
> cat group.txt >> /etc/group

Ewww that would make a mess of any existing system ... it might be OK
for setting up an initial system, but would be no good after that
because the passwords would get out of sync.

Personally it would be nice if there was an "idiot proof" GUI for
setting up and LDAP database for a small office.  Maybe I should learn
python.

Paul



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux