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

Re: [cobalt-users] New to Cobalt peculiarites



1. FTP seems to drop the user including "site admin" into their user
directory instead of the root www dir. How can I chnge this? I am
thinking proftpd.conf

Think anon ftp.

You would need to edit /etc/passwd (make a backup first!)
For instance:
bubba:x:XXX:XXX:Admin:/home/sites/siteXX/users/bubba:/bin/...
would become
bubba:x:XXX:XXX:Admin:/home/sites/siteXX/web:/bin/...

Of course, this is handled by scripts connected to GUI, so if you modify the site-admin entry, it may revert to the user dir. What script, beats me. But if you name the site-admin consistently (Admin), it is easy to search and then use a pattern replace. This can be actually automatized by a script, unless you decide to fiddle with cobalt default scripts.

Of course, that will render the global ftp and telnet message inaccurate for admins.

Another way is to make a symlink caled something like goto_main_site in the user directory to the /web. Of course, you can inform siteadmins that they should specify the default remote directory as /web.

2. I am migrating a couple of hundred domains to the cobalt for dns and
mail relaying. I have created a script to make a /etc/named/records file
so it will work for the GUI. Is there a similar method for
etc/mail/local-host-names etc/mail/aliases and etc/mail/virtusertable
and httpd.conf and be able to view from the GUI.

Anything's possible.