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

Re: [cobalt-users] How may I change the creation behaviour of new (v)users



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Another way to accomplish this is to edit /etc/passwd
> Find the line for the site admin to be modified. Change the path
> from /home/sites/site#/users/username
> to
> /home/sites/site#/web
> Be very careful with this command.
> If the user is deleted after that change, the site web directory
> will be deleted as well as this is the new root directory for that
> user.
>
> This modification should be changed back before deleting the user.

Which it won't be -- you'll forget -- and end up blowing away the 
entire site.  Best to not even consider this option at all.  You want 
to affect their FTP connection, so make the changes in the FTP config 
file.  That's what it's there for.

"Random" editing of /etc/passwd is just not a Good Thing (TM)...

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Wnu8vLA2hUZ9kgwRAmXLAJ9A8yn8x5TdewJ8G1LNNCphVM2AVgCbBbl0
MZ517tV+BtGNlqQHEeakBlc=
=sfxG
-----END PGP SIGNATURE-----