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 June 2012, 10:00
global-e global-e is offline
Junior Member
 
Join Date: Sep 2010
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default Acces log trough shell user (ssh)

Hi ISP Community,

I want to give shell users access to their log files. They see the log files folder redirection but when they try to open they get the error:

Code:
xxxxxx_shell@foo.bar:/$ ls -lar
total 732
drwx--x--- 10 xxxxxx_shell client2   4096 Jun 27 16:11 web
drwxr-x--x  3 root           root      4096 Jun 12 08:57 var
drwxr-x--x  6 root           root      4096 Jun 12 08:57 usr
drwxrwxrwx  2 xxxxxx_shell client2 692224 Jun 28 07:54 tmp
drwxr-x--x  2 xxxxxx_shell client2   4096 Jun 12 08:38 ssl
lrwxrwxrwx  1 root           root        32 Jun 12 08:38 log -> /var/log/ispconfig/httpd/foo.bar
lrwxrwxrwx  1 root           root         4 Jun 12 08:57 lib64 -> /lib
drwxr-x--x  3 root           root      4096 Jun 12 08:57 lib
drwxr-x--x  4 root           root      4096 Jun 12 08:57 home
drwxr-x--x  6 root           root      4096 Jun 12 08:57 etc
drwxr-x--x  2 root           root      4096 Jun 12 08:57 dev
drwxr-x--x  2 xxxxxx_shell client2   4096 Jun 12 08:38 cgi-bin
drwxr-x--x  2 root           root      4096 Jun 12 08:57 bin
drwx------  2 xxxxxx_shell client2   4096 Jun 12 08:57 .ssh
-rwxr-xr-x  1 xxxxxx_shell client2      0 Jun 28 07:12 .bash_history
drwxr-xr-x 14 root           root      4096 Jun 12 08:57 ..
drwxr-xr-x 14 root           root      4096 Jun 12 08:57 .
Code:
xxxxxx_shell@foo.bar:/$ cd log
bash: cd: log: No such file or directory
or

Code:
xxxxxx_shell@foo.bar:/$ cd /var/log/ispconfig/httpd/foo.bar
bash: cd: /var/log/ispconfig/httpd/foo.bar: No such file or directory
How can i fix this?

Last edited by global-e; 28th June 2012 at 10:02.
Reply With Quote
Sponsored Links
  #2  
Old 28th June 2012, 10:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,230 Times in 4,099 Posts
Default

You can not provide access to the log files for shell users that are jailed as jailed users can not access files outside of their jail. But you users can access the file by FTP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
global-e (28th June 2012)
  #3  
Old 28th June 2012, 11:18
global-e global-e is offline
Junior Member
 
Join Date: Sep 2010
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

Ok :'( Thanks for the info and the quick response
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
Shell User Cannot SSH halsafar General 1 4th May 2012 02:51
MySQL doesn't work after reboot bswinnerton Installation/Configuration 10 21st January 2012 16:47
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Auth.log question spikes Server Operation 0 12th December 2010 21:24
Outlook does not Authenticates aberrio Server Operation 30 1st November 2007 19:21


All times are GMT +2. The time now is 22:32.


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