Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th April 2010, 17:09
inittab inittab is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with /etc/passwd entry ispconfig 3.0.2.1 with jailkit 2.11

Hi I have a clean installation of ispconfig w/ jailkit on a new 9.10 system and I'm having some trouble with the chroot'ed /etc/passwd for ssh users.

The user line for the jailkitted user does not have the home directory listed

renesisssh@darkertek.com:~$ cat /etc/passwd
renesisssh:x:5005:5006:::/bin/bash
renesisssh@XXXXXXXXXXXXXX:~$

This causes issue with library calls like getpwuid(getuid())->pw_dir and getting the users home directory.

One example of this being an issue is irssi:

renesisssh@XXXXXXXXX:~$ irssi

** ERROR **: Couldn't create /.irssi directory
aborting...
Aborted

This should be trying to create $HOME/.irssi but ends up trying to create /.irssi instead

Any help is appreciated. thanks

Last edited by inittab; 28th April 2010 at 17:14. Reason: more info
Reply With Quote
Sponsored Links
  #2  
Old 3rd July 2010, 02:54
nagl nagl is offline
Junior Member
 
Join Date: Jul 2010
Location: Poland
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Yeah, it's still a problem.

However, if you like to run irssi, you can enable perl in ISPConfig panel (system > server config > your_server > jailkit > Jailkit chroot app sections) and run irssi using command irssi --home=$HOME
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with installing ispconfig darkscythe002 Installation/Configuration 8 29th April 2009 19:46
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
ISPConfig blew away /etc/passwd and /etc/group digerata General 3 24th August 2007 21:26
ISPConfig DNS and virtual host configuration tips and problem Ripper Installation/Configuration 6 26th June 2007 00:29
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 16:37


All times are GMT +2. The time now is 01:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.