I need a unix guru quick please!

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Gaim me at CorporateRec
This is time sensitive, so if you can help, please please do!
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Mmmm ok.

I made a shell for a friend in my server, lets call him JON.
I want him to have space to upload stuff, but I want him to just stay in /home/jon
I dont want him all over my box. How can I accomplish this without having to chmod all my bloody files.
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0
You want something called a restricted shell. IIRC, it's compiled in by default with ksh, not with bash though. But that won't help with ftp. What ftp daemon are you using?
 

Soybomb

Diamond Member
Jun 30, 2000
9,506
2
81
As a standard user isn't about all he has access to is /home/username. Unless he has the root password your cool
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Nm.

He has access to all the other user's

To clarify, he can see all the other shells, but not see their files
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0


<< Nm.

He has access to all the other user's

To clarify, he can see all the other shells, but not see their files
>>



Is that via telnet or ftp? Do you only want him to be able to login via ftp, but not telnet?
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0
Ok, you basically want him to chroot to his home directory automatically when he logs in.

Since you haven't said what ftp daemon you're using, use wu-ftpd. Then read this document about guest accounts.

PITA, huh?
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
I got a link on how to do it, thanks all for your quick replies, you are great.