Scenario: scp using ssh keys to a machine on my network, but received the error – protocol error: mtime.sec not present On creating the user on the remote machine I used nologin, instead of a shell. Simply changing the user via vipw to a shell fixed ..
Tag : unix
I recently installed FreeBSD 10, as I broke my server by trying to install a 32bit ESET av, which is actually all they provide for FreeBSD. Anyway, I couldn’t see anything in the source /usr/src/ so I tried to install it using sysinstall. # sysinstall bash: sysinstall: command not found sysinstall for FreeBSD 10 has ..
Vi delete from line1 to current :1,.d This deletes lines 1 to current. :1,.-1d This deletes lines 1 to abov..
Installing TLS on sendmail Freebsd – cd /usr/ports/security/cyrus-sasl2-saslauthd && make install echo ‘saslauthd_enable=”YES”‘ >> /etc/rc.conf Start the saslauthd – /usr/local/etc/rc.d/saslauthd.sh start Changing sendmail build options – vi /etc/make.conf #Add the following – # SASL (cyrus-sasl v2) sendmail build flags… SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail… SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL ..