Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 12th May 2006, 11:56
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

stat /home/chroot/bin/bash
File: `/home/chroot/bin/bash'
Size: 625228 Blocks: 1230 IO Block: 4096 regular file
Device: 306h/774d Inode: 306012 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 50/ staff)
Access: 2006-05-11 23:14:45.000000000 +0200
Modify: 2006-05-11 22:29:17.000000000 +0200
Change: 2006-05-11 22:29:17.000000000 +0200
Reply With Quote
Sponsored Links
  #12  
Old 12th May 2006, 12:00
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

wtf i can exec bin bash but over ssh nope
when i su to testuser i can enter /bin /usr/bin where i want...i dont wanna this to happen

$ echo $HOME
/home/chroot/./home/testuser

Last edited by unkn0wn; 12th May 2006 at 12:04.
Reply With Quote
  #13  
Old 12th May 2006, 21:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Does /home/chroot/home/testuser exist?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 14th May 2006, 07:55
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes its exist

ls -al /home/chroot/home/testuser
total 6
drwxr-xr-x 2 testuser users 1024 May 11 22:30 .
drwxr-sr-x 3 root staff 1024 May 10 10:40 ..
-rw------- 1 testuser users 377 May 12 12:46 .bash_history
-rw-r--r-- 1 testuser users 567 May 10 10:40 .bash_profile
-rw-r--r-- 1 testuser users 1834 May 10 10:40 .bashrc
Reply With Quote
  #15  
Old 14th May 2006, 17:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Hm.... Strange...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 15th May 2006, 08:13
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i know
i follow instructions and everything look ok but
i cant log in.
Reply With Quote
  #17  
Old 20th May 2006, 10:42
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

maybe its problem in libs? i seen some erros when i execute your script.

/home/chroot/lib# ls
libacl.so.1 libncurses.so.5 libnss_compat.so.2 tls
libattr.so.1 libnsl.so.1 libnss_files.so.2


this is libs
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
Fedora Core 2 - DNS Not updating jackaltx Installation/Configuration 21 24th November 2008 13:06
Chrooted SSH HowTo question??? ctroyp HOWTO-Related Questions 86 24th February 2007 14:14
SSH Users CHROOT howser Installation/Configuration 20 2nd August 2006 08:22
Chrooted SSH linuxuser1 Server Operation 6 18th April 2006 08:09


All times are GMT +2. The time now is 14:34.


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