Repeating error messages

Status
Not open for further replies.

rrosenwald

Dabbler
Joined
Mar 17, 2013
Messages
21
I'm running FreeNAS 9.1

Last night I started getting messages every five minutes that look like:

Aug 26 06:45:00 dlna_1 cron[50711]: _secure_path: /etc/login.conf is not owned by root
Aug 26 06:45:00 dlna_1 cron[50711]: login_getclass: unknown class 'daemon'
Aug 26 06:45:00 dlna_1 cron[50711]: _secure_path: /etc/login.conf is not owned by root
Aug 26 06:50:00 dlna_1 cron[50815]: _secure_path: /etc/login.conf is not owned by root
Aug 26 06:50:00 dlna_1 cron[50815]: login_getclass: unknown class 'daemon'
Aug 26 06:50:00 dlna_1 cron[50815]: _secure_path: /etc/login.conf is not owned by root

I have no idea what these are telling me or how to fix it. Any help would be much appreciated.
 
D

dlavigne

Guest
Did you install using Plugins or Jails? Is this 32 or 64 bit?
 

rrosenwald

Dabbler
Joined
Mar 17, 2013
Messages
21
64 bit

Installed using Plugins, I'm fairly certain. I just noticed that the two other Plugins that I didn't install - Transmission and Firely - are no longer appearing in the list of available Plugins.
 

rrosenwald

Dabbler
Joined
Mar 17, 2013
Messages
21
In response to the same query, someone in the FreeBSD forums commented:

It looks like this is the login.conf file under the jail for the dlna plugin?

When I look in ../jails/dlna_1/etc there is a login.conf* (I don't know what the asterisk means) - might this be what I need to edit?
 
D

dlavigne

Guest
These should appear now. Appcafe was down for a bit yesterday.
 
D

dlavigne

Guest
Post the output of "ls -lh /etc/login*" while in the jail. Also, did you create a cron job in the jail?
 

rrosenwald

Dabbler
Joined
Mar 17, 2013
Messages
21
I didn't create any cron jobs.

In looking at the output, am I right in guessing that the owner is rrosenwald and not root? If so how do I change the owner, assuming that is what I need to do?

Code:
[root@freenas /mnt/NAS/jails/dlna_1]# ls -lh etc/login*                       
-rwxr-xr-x  1 rrosenwald  wheel  1.8k Dec  4  2012 etc/login.access           
-rwxr-xr-x  1 rrosenwald  wheel  6.6k Dec  4  2012 etc/login.conf             
-rwxr-xr-x  1 rrosenwald  wheel    16k Dec  4  2012 etc/login.conf.db  
 

rrosenwald

Dabbler
Joined
Mar 17, 2013
Messages
21
I found the answer to part of my second question - I think I'd use CHOWN. But is that what I want to do?
 
Status
Not open for further replies.
Top