login_secure_path world writable

Status
Not open for further replies.

Kymmitsu

Cadet
Joined
Jan 24, 2014
Messages
6
Hi I hope someone can help, When a Cron task is run I get the Following,

login: _secure_path: /mnt/Volume1/home/stupiduser(me)/.login_conf is world writable.

The Multiple cron task is a Rsync Task over SSH to another NAS (Dlink) as backup.

I caused it - I changed the permissions on the Volume recursively to Guest:Guest. Have no idea my thought process when doing it.

Whilst its not cuasing issues as such, the task still happily runs, but its a error that should be addressed. I am assuming that I need to change via the CLI the Home directory's rights.
As it will be all of the users rights affected how and what do I change them back to?

Thanks
 

SmallGuy

Guru
Joined
Jun 7, 2013
Messages
560
.longin_conf attribute are usually rw-r--r--
I don't think using guest user with ssh is a good method.
Usually, lot of people use root user for rsync over ssh task.
You can also create a specific user for your rsync task if you don't want use root user.

And use recursive commands on Volume level is a little bit crazy when you don't know what your are doing.
A little -r or -R is very powerful, as you can see...
 

Kymmitsu

Cadet
Joined
Jan 24, 2014
Messages
6
Hi Thanks for your reply

The Rsync user is not guest or even root in my case, I have created a special Rsync user for the tasks + I set ssh up on the Dlink with that user so there was no password prompts.

AS for the Guest:Guest recursive on the Volume - well - damn stupid I know better and read as such, but I was working out why I couldnt move/Delete those annoying read only windows and Apple files via SMB.

Thanks
 
Status
Not open for further replies.
Top