SOLVED How to get into a jail via SSH?

Status
Not open for further replies.

Brian Buchanan

Dabbler
Joined
Aug 14, 2013
Messages
17
I'm able to ssh to freenas but from there I can't get into the jail.

Code:
jexec: jail_attach(2): Operation not permitted

I've noticed that 'su' says sorry and sudo...
Code:
sudo jexec 2 csh
Password:
Sorry, user brian is not allowed to execute '/usr/sbin/jexec 2 csh' as root on freenas3119.buchananworldcorp.com.

Edit: Solved? I edited the wheel group members and added my account to it, which let me run su -. Then as root I can jsl and jexec fine.
 

freenas-deluxe

Dabbler
Joined
Nov 23, 2013
Messages
17
I try the same but it does not work for me on 9.1.1
Code:
$ id
uid=1003(se) gid=0(wheel) groups=0(wheel),20(staff)
$ su -
Password:
su: Sorry
 
Status
Not open for further replies.
Top