root password

Bugs in eFa 4
Post Reply
rooter_c
Posts: 13
Joined: 05 Mar 2013 04:52

root password

Post by rooter_c »

Don't know if I'm doing something wrong, but I have followed the Migration Guide steps twice now, and something is resetting my root password after I copy the backup files across, then run through the eFa-Init wizard. Having to do a Centos root password recovery to progress.
rooter_c
Posts: 13
Joined: 05 Mar 2013 04:52

Re: root password

Post by rooter_c »

I'm also getting these errors and no mail delivery. I'm not using DMARC or DKIM

Nov 15 10:36:22 eFa4 postfix/cleanup[3612]: warning: connect to Milter service inet:localhost:8891: Connection refused
Nov 15 10:36:22 eFa4 postfix/cleanup[3612]: 47DdCp6kn7zCLsT: milter-reject: CONNECT from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@towong.local>
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: root password

Post by shawniverson »

root password is locked down by design. You can of course sudo in and change that if you desire.

Not sure why you have that milter, but edit /etc/postfix/main.cf and remove the milter inet:localhost:8891 and reload postfix. If you are not using DKIM, you don't need it.
rooter_c
Posts: 13
Joined: 05 Mar 2013 04:52

Re: root password

Post by rooter_c »

Thanks, as suggested removed milter references to ports 8891 (and 8893) in main.cf, they don't seem to be getting removed when disabling dkim / dmarc as earlier suggested by tesme33
webguyz
Posts: 61
Joined: 26 Oct 2016 02:17

Re: root password

Post by webguyz »

shawniverson wrote: 15 Nov 2019 05:57 root password is locked down by design. You can of course sudo in and change that if you desire.

Not sure why you have that milter, but edit /etc/postfix/main.cf and remove the milter inet:localhost:8891 and reload postfix. If you are not using DKIM, you don't need it.
How can I allow root password and access from outside using tools like WinSCP or Putty.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: root password

Post by shawniverson »

<post removed>

Lapse in judgement detected.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: root password

Post by pdwalker »

I strongly suggest that you use ssh keys to allow access to your root account rather than setting a password.

It'll also make the winscp and putty tools easier to use.

Personally, I use a non admin account as my login using ssh keys, and then taking the second step of using sudo to make any changes that require root permissions.
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: root password

Post by jamerson »

pdwalker wrote: 15 Apr 2020 07:03 I strongly suggest that you use ssh keys to allow access to your root account rather than setting a password.

It'll also make the winscp and putty tools easier to use.

Personally, I use a non admin account as my login using ssh keys, and then taking the second step of using sudo to make any changes that require root permissions.
this is really handy, is there some kind of tutorial to get the privat key set up?
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: root password

Post by pdwalker »

I am sure there are many tutorials online for doing this.

Do you need one for winscp and putty?
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: root password

Post by jamerson »

pdwalker wrote: 05 Jan 2021 07:47 I am sure there are many tutorials online for doing this.

Do you need one for winscp and putty?
Thank you my friend,
ive got it set up already.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
Post Reply