Configuring Chrootdirectory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Configuring Chrootdirectory
# 1  
Old 11-18-2009
Configuring Chrootdirectory

Hello,

I am running OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

I need to chroot each user into their own directory.
How can I do so using the chrootdirectory option?
Please provide an example.

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Configuring Auditing

Hello Solaris Team, We would like to implement some audit policy (using a log file) in Solaris 10 in order to record the following data in columns per all users: 1. Date 2. Time 3. User 4. Command executed 5. Terminal 6. IP Address Could you please help me in order to... (2 Replies)
Discussion started by: csierra
2 Replies

2. UNIX for Dummies Questions & Answers

Need help configuring SSH on HP-UX

Can someone show me the basics on configuring SSH on Unix so I can access my Unix account remotely from Windows 7. Basically, I want to fire some scripts remotely. I've already posted a thread on the Windows forum thinking my configuration was wrong on the Windows side. But the more I read the... (9 Replies)
Discussion started by: rm-r
9 Replies

3. Red Hat

configuring X on Enterprise v6.2

Hello; nerw to configuring X windows on redhat .. After a fresh install of Enterprise v6.2 w/ kde desktop pkg, noticed the follwing: 1. metacity wm is installed 2. gdm also seems to be running 3. trying to connect from Reflection fails Where can I find a how to guide ?? Thnx (1 Reply)
Discussion started by: delphys
1 Replies

4. Shell Programming and Scripting

Configuring ssmtp

Hi, I have trouble in configuring ssmtp for sending mail to gmail. I have configured the following way, plz suggest/correct me if i have done something wrong root=nagiostool@gmail.com mailhub=smtp.gmail.com:587 #RewriteDomain= # The full hostname Hostname=nagiosxi # Set this to... (1 Reply)
Discussion started by: nagios
1 Replies

5. Red Hat

configuring vsftpd

hi everybody, i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny,... (6 Replies)
Discussion started by: paruhang
6 Replies

6. Solaris

Samba help Configuring.

I am trying to find some documentation to help me configure SAMBA on a Solaris 10 OS for File Sharing. I guess I need more help on the smb.conf file. I was able to test a small smb.conf file and testparm script works. So, I know I have installed it properly. Now looking for more guidance of the... (2 Replies)
Discussion started by: 4X4R8D
2 Replies

7. UNIX for Dummies Questions & Answers

help configuring Ajaxterm

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use :http://localhost:8022/ in my broswer. This is the problem , it can only be accessed localy. If I want to access it through internet from another computer, it fails. I've read the tutorials on how to... (1 Reply)
Discussion started by: wosis
1 Replies

8. UNIX for Dummies Questions & Answers

Configuring mail help

I'm trying to get my server (running SunOS 5.8) to be able to send mail. The mail administrator gave me the name of the mail server that I can use to relay the mail, but where/how do I configure this in Unix on my server? Thanks! (5 Replies)
Discussion started by: FredSmith
5 Replies

9. UNIX for Advanced & Expert Users

Configuring a modem on a P5

Hello. I'm trying to configure a modem on an IBM p570 on the serial port. This is a partition machine so i want to be able to share it with partitionned servers. On my VIOserver, what needs to be done exactly? I can see a vsa0 device but that is not the serial port i need from what i... (1 Reply)
Discussion started by: Stephan
1 Replies

10. UNIX for Advanced & Expert Users

Configuring.....

Hi Folks, I would like to learn the basics of unix administration like configuring telnet, ftp, smtp,etc.. Could u suggest me a good site for learning it??? or the methodology that has to be followed for learning it??? TIA, Nisha :) (2 Replies)
Discussion started by: Nisha
2 Replies
Login or Register to Ask a Question
CHROOT(8)						    BSD System Manager's Manual 						 CHROOT(8)

NAME
chroot -- change root directory SYNOPSIS
chroot [-u user] [-g group] [-G group,group,...] newroot [command] DESCRIPTION
The chroot utility changes its current and root directories to the supplied directory newroot and then exec's command, if supplied, or an interactive copy of the user's login shell. If the -u, -g or -G options are given, the user, group and group list of the process are set to these values after the chroot has taken place. ENVIRONMENT
The following environment variable is referenced by chroot: SHELL If set, the string specified by SHELL is interpreted as the name of the shell to exec. If the variable SHELL is not set, /bin/sh is used. SEE ALSO
chdir(2), chroot(2), setgid(2), setgroups(2), setuid(2), getgrnam(3), environ(7), jail(8) HISTORY
The chroot utility first appeared in 4.4BSD. BSD
June 7, 2003 BSD