Hello Alan,

Monday, January 21, 2002, 20:50:07 PM, you wrote:

AM> Hello All!

AM> I've been playing with my install of FreeVSD 1.4.9, and so far like it.
AM> I have run into a couple minor problems, however:

AM> 1. Normally when I setup a domain on a web server, I make the username
AM> the same as the domain.  For example, if I am hosting "domain.com", then
AM> I create a user called "domain.com" (their home directory would be
AM> /home/domain.com in that case).  When I tried to do that under FreeVSD,
AM> I was told that the username contained illegal characters.  I figured it
AM> was the period, because when I changed the username to domain-com, it
AM> was okay.

AM> I would like to change this default "behaviour", and I thought it would
AM> be in the /etc/profile file, but I didn't see it anywahre.  Do you know
AM> where I can change this?  If I make the change in the "master" file in
AM> the skel directory, will I also have to make it for each virtual server
AM> that is setup? (well, I only have one, but just thinking ahead!)  For
AM> future reference, if I make a change to the Skel (change a file, add a
AM> program, etc.), would a simple "vsd-genskel" make that same change
AM> across all Virtual Servers that are setup?

No idea to that one.

AM> 2. My other "problem" is that I seem to be unable to change the default
AM> behaviour of not allowing root SSH logins.  In the Virtual Server, I
AM> changed the "PermitRootLogins" to "yes", and also made the change in the
AM> Skel.  I then rebooted the Virtual Server, but it went back to "no".  Is
AM> this possible?  I know I can just add myself as a regular user then su
AM> to root, but generally, I prefer logging in directly to root, since it
AM> doesn't make much of a difference in my mind.

you need to edit /home/vsd/vs/XXXXX/etc/vsd/priv
and add admin after login.
By default admin is not given login permissions which are require to
do ssh. However you probably at the same time want to remove the
telnet permission for admin since we don't want him to telnet but
rather ssh into the machien don't we ?

AM> 3. Finally, while logged in as admin on a virtual server, I don't seem
AM> to be able to restart the httpd service.  When I isue
AM> "/etc/rc.d/init.d/httpd", it says:


AM>     it can't find /etc/rc.d/init.d/functions;
AM>     "daemon" command not found; and
AM>     permission denied to create the httpd file in /var/loc/subsys

AM> I get around it by rebooting the virtual server as root of the hosting
AM> server, but that's not acceptable, in my mind.  Is there a fix for this?
AM> Maybe fixing up some directory permissions?

admin isn't a true root user so he can't kill someone elses processes.
apache is run as the user web. su is patch to allow admin to use su
exactly like root can (su into any username without supplying
password) so you can login as admin then 'su - web' then kill the
httpd processes and start them up again.
It's correct there are no rc.d scripts on the virtual servers. Sad but
true.

AM> I'll prolly have a look around my system later tonite to see if i ca
AM> solve this issue, but I have to get dinner at the moment :-)

AM> Anyway, thanx for your help!

Hope this helps.

/ Eje

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to