Plugins insecure permissions

Status
Not open for further replies.

nattan

Explorer
Joined
May 19, 2013
Messages
57
I ended up having a horrible idea trying to get a plugin to copy a file from one data set over to another data set. The idea was lets set all permissions to 777 and see how things go (Targeted my SSD which was my download directory and also the home of my jails). Now none of my plugins are booting up properly and are throwing insecure permission errors.

Is there anyway to fix this without starting over(deleting all my plugins/jails)?

Error:
Code:
"In openpam_check_desc_onwer_perms(): /ect/pan.d/su: insecure ownership or permissions
pam_start: system error"

pan.d/su file:
Code:
#
# $FreeBSD: releng/9.3/etc/pam.d/su 219663 2011-03-15 10:13:35Z des $
#
# PAM configuration for the "su" service
#

# auth
auth        sufficient    pam_rootok.so        no_warn
auth        sufficient    pam_self.so        no_warn
auth        requisite    pam_group.so        no_warn group=wheel root_only fail_safe ruser
auth        include        system

# account
account        include        system

# session
session        required    pam_permit.so


Edit:
Tried reverting permissions back but that didnt help, and also did not have any snapshots of my jails.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
without a snapshot your best bet it to create a new jail. you can backup & restore your plugin's data-directory so it'll start off where it left of.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Yes that he said ^
 
Status
Not open for further replies.
Top