bugJailkit - Bugs: bug #42196, FEATURE: Allow --login option for...

 
 

bug #42196: FEATURE: Allow --login option for /bin/bash or /bin/sh in jk_chrootsh.ini

Submitter:  Rafael Kähm <rafaelka>
Submitted:  Fri 25 Apr 2014 09:14:15 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  oli4
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Nov 2015 09:15:59 PM UTC, comment #2: 

implemented in cvs.

Olivier Sessink <oli4>
Group administrator
Fri 17 Oct 2014 10:53:44 AM UTC, comment #1: 

On some systems sh is just a symbolic link to bash. So .bashrc and .bash_profile are used.
They are executed for me inside the jail.

Anonymous
Fri 25 Apr 2014 09:14:15 PM UTC, original submission:  

Jailed user start sessions without --login option.
So is ~/.profile ignored.

If running:

shopt | grep login_shell

you'll get "login_shell    off"

Is it maybe possible to provide this functionality in current version?

If that is currently not possible, then is maybe following option for jk_chrootsh.ini suitable?:

injail_login_shell=1

Rafael Kähm <rafaelka>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)
  • -email is unavailable- added by rafaelka (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-04 oli4 StatusNone Fixed
        Assigned toNone oli4
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code