chroot a user?

chroot a user?

Post by Fabio Giannott » Wed, 14 Jan 1998 04:00:00



I know when you set up the anonymous FTP account, the system
automatically does a chroot.

My question is how do you set up regular users in the same manner?  That
is, I want to issue a chroot so they can't go up past their own home
directory, but I can't figure out where/how to do this.  (Using SCO
5.0.4 with rs504b.)

Thanks in advance,
Fabio

--

 The comments/views expressed here are my own, and not of my company.

 
 
 

chroot a user?

Post by Jean-Pierre Radle » Wed, 14 Jan 1998 04:00:00


Fabio Giannotti telecommunicated (on 13Jan):
| I know when you set up the anonymous FTP account, the system
| automatically does a chroot.
|
| My question is how do you set up regular users in the same manner?  That
| is, I want to issue a chroot so they can't go up past their own home
| directory, but I can't figure out where/how to do this.  (Using SCO
| 5.0.4 with rs504b.)

man rsh

--


 
 
 

chroot a user?

Post by Fabio Giannott » Wed, 14 Jan 1998 04:00:00



> Fabio Giannotti telecommunicated (on 13Jan):
> | I know when you set up the anonymous FTP account, the system
> | automatically does a chroot.
> |
> | My question is how do you set up regular users in the same manner?  That
> | is, I want to issue a chroot so they can't go up past their own home
> | directory, but I can't figure out where/how to do this.  (Using SCO
> | 5.0.4 with rs504b.)

> man rsh

> --


I'm somewhat familiar with rsh, and I don't think that's exactly what I
want.  I want the user's home dir to be the top of their directory
structure if they log on as a regular user, or ftp in.

Thanks again,
Fabio
--

 The comments/views expressed here are my own, and not of my company.

 
 
 

chroot a user?

Post by John DuBo » Thu, 15 Jan 1998 04:00:00




+I'm somewhat familiar with rsh, and I don't think that's exactly what I
+want.  I want the user's home dir to be the top of their directory
+structure if they log on as a regular user, or ftp in.

To do this for ftp purposes, see the 'guestgroup' keyword in the ftpaccess(SFF)
man page.  For regular logins, you will need to roll your own - there is no
such capability waiting for you.

        John
--

 
 
 

chroot a user?

Post by Anatoly Yu. Nelyubi » Thu, 15 Jan 1998 04:00:00



> Fabio Giannotti telecommunicated (on 13Jan):
> | I know when you set up the anonymous FTP account, the system
> | automatically does a chroot.
> |
> | My question is how do you set up regular users in the same manner?  That
> | is, I want to issue a chroot so they can't go up past their own home
> | directory, but I can't figure out where/how to do this.  (Using SCO
> | 5.0.4 with rs504b.)

> man rsh

> --


man ftpaccess
parameter guestgroup
 
 
 

chroot a user?

Post by David Domja » Sun, 18 Jan 1998 04:00:00


On Wed, 14 Jan 1998 10:03:36 +0500, "Anatoly Yu. Nelyubin"


>> | My question is how do you set up regular users in the same manner?  That
>> | is, I want to issue a chroot so they can't go up past their own home
>> | directory, but I can't figure out where/how to do this.  (Using SCO
>> | 5.0.4 with rs504b.)

What about the chroot command?

I noticed that it only works when booting
from emergency floppy disk???

David
--
David Domjahn          

WARNING:  The return email address field has been altered.
To reply, please delete the * or the message will bounce.

 
 
 

1. chroot ftp users while leaving some freedom to some special user

ok I managed to lock every user in his own home directory by editing

/usr/local/etc/proftpd.conf

<Global>
DefaultRoot ~ !www
DefaultRoot / www
ShowSymlinks on
RootLogin off
</Global>

in this way the group www can go everywhere but all other users are
locked...

how to allow freedom to one user rather then one group?

2. ppp lcp timeout

3. chroot+Apache: possible to place logfiles outside chroot cell?

4. What makes Metro-X any better than XFree86?

5. BIND config tool + How do I select between chroot and no chroot?

6. intercept a network stream (socketpair ?)

7. Running chroot applications in a chroot environment

8. Compaq Presario 325 Frequency Range

9. network services, chroot, user id

10. chroot ftpd for regular (non-anon) users?

11. Chroot Telnet user

12. chroot a login user

13. chroot'd FTP user can access system files via cgi