jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] JAIL KIT for Solaris 10 /ix86


From: Olivier Sessink
Subject: Re: [Jailkit-dev] JAIL KIT for Solaris 10 /ix86
Date: Wed, 04 Oct 2006 18:17:25 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060812)

Tillmann Basien wrote:
> I tried to compile (minor changing) and use jailkit on SOlaris10 / ix86
> but w/out success.
> 
> Is there any stable version available? Or are there any plans to do that?
> 
> 
> address@hidden:/ $ /opt/jailkit/sbin/jk_jailuser -v -m -j /export/jail/ jane
> user jane already exists in /export/jail/etc/passwd
> modify user jane; dir /export/jail/./export/home/jane and shell
> /usr/sbin/jk_chrootsh
> please report that user modding on platform sunos5 is not yet handled
> to the jailkit developers, and suggest which command is needed to modify
> users

what is the command the use on sunos to change the homedir and shell of
a user?

> Traceback (most recent call last):
>   File "/opt/jailkit/sbin/jk_jailuser", line 297, in ?
>     main()
>   File "/opt/jailkit/sbin/jk_jailuser", line 288, in main
>     jailuser(jail, username, movehome, config)
>   File "/opt/jailkit/sbin/jk_jailuser", line 154, in jailuser
>     if (not moduser(user,newhome,'/usr/sbin/jk_chrootsh')):
>   File "/opt/jailkit/sbin/jk_jailuser", line 118, in moduser
>     if (os.system(command)!=0):
> UnboundLocalError: local variable 'command' referenced before assignment

will fix this error

regards,
        Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]