[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] Root dir vs user dir...



You might need to join the cobalt users list as well as this list.

Yes, more relevant for cobalt-users...

But the answer to your question is, edit the /etc/passwd file.

Example:
 user1:x:111:100:Real Name:/home/sites/site1/users/user1:/bin/bash
change to something like:

 user1:x:111:100:Real Name:/home/sites/site1:/bin/bash

That will drop the user 'user1' straight into the root of site 1

NO!!!! When a user is deleted from the system, their entire home directory (according to /etc/passwd) is deleted. By making the change you suggest, the entire virtual site directory will be erased...

If you must tweak something, do the proftpd.conf file another user suggested.

Or even better, provide instructions to users to set a default remote directory of "/web" in their FTP software... :)

--
Bruce Timberlake
Cobalt/Linux Technology Engineer
Communications Market Area
Sun Microsystems, Inc. - San Diego

e: bruce.timberlake@xxxxxxx
t: 877-718-3569 / x69369