Hmmm. I believe there is a historic reason for 'domain.com' users not being supported, and you are correct that it is because of the dot. During VSD's infancy it was found that many people would use a dot format for their usernames. However when it comes to creating scripts and changing filemodes etc, they would run into problems (the dot confuses the short-hand specification of user and group - 'chown admin.admin somefile') So many people failed to understand they must use 'chown domain.com:domain.com somefile' the code was modified to prevent people using a dot in usernames... Or something like that. Anyway, the feature still exists and will need a source patch to remedy it...
Tim > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Murrell > Sent: 22 January 2002 02:50 > To: [EMAIL PROTECTED] > Subject: how do I change what characters are allowed for usernames? > > > Hello All! > > I've been playing with my install of FreeVSD 1.4.9, and so far like it. > I have run into a couple minor problems, however: > > 1. Normally when I setup a domain on a web server, I make the username > the same as the domain. For example, if I am hosting "domain.com", then > I create a user called "domain.com" (their home directory would be > /home/domain.com in that case). When I tried to do that under FreeVSD, > I was told that the username contained illegal characters. I figured it > was the period, because when I changed the username to domain-com, it > was okay. > > I would like to change this default "behaviour", and I thought it would > be in the /etc/profile file, but I didn't see it anywahre. Do you know > where I can change this? If I make the change in the "master" file in > the skel directory, will I also have to make it for each virtual server > that is setup? (well, I only have one, but just thinking ahead!) For > future reference, if I make a change to the Skel (change a file, add a > program, etc.), would a simple "vsd-genskel" make that same change > across all Virtual Servers that are setup? > > 2. My other "problem" is that I seem to be unable to change the default > behaviour of not allowing root SSH logins. In the Virtual Server, I > changed the "PermitRootLogins" to "yes", and also made the change in the > Skel. I then rebooted the Virtual Server, but it went back to "no". Is > this possible? I know I can just add myself as a regular user then su > to root, but generally, I prefer logging in directly to root, since it > doesn't make much of a difference in my mind. > > 3. Finally, while logged in as admin on a virtual server, I don't seem > to be able to restart the httpd service. When I isue > "/etc/rc.d/init.d/httpd", it says: > > > it can't find /etc/rc.d/init.d/functions; > "daemon" command not found; and > permission denied to create the httpd file in /var/loc/subsys > > I get around it by rebooting the virtual server as root of the hosting > server, but that's not acceptable, in my mind. Is there a fix for this? > Maybe fixing up some directory permissions? > > I'll prolly have a look around my system later tonite to see if i ca > solve this issue, but I have to get dinner at the moment :-) > > Anyway, thanx for your help! > > Alan Murrell <[EMAIL PROTECTED]> > > > > ------------------------- 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 ---------------------------------------------------------------------------- - ------------------------- 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 -----------------------------------------------------------------------------
