12.04 testparm won't execute under sudo
Then I try to generate a comment free smb.conf file as sudo using testparm I get an error
I have a simple setup with 4 Ubuntu machines on a very small LAN with is behind a firewall. This started happening when I was experimenting with a Scientific Linux distro on one of the machines. Never got samba to work correctly among three Ubuntu machines and SL so I replaced SL with Ubuntu 12.04.
sudo testparm -s smb.conf.master >smb.conf
bash: smb.conf: Permission denied
I'm trying to configure all 4 of my machines identically and intend to use copies of smb.conf.master on all of them.