Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Confucius on February 11, 2002, 03:41:53 PM
-
Hiya,
Because I have NO use for the aliasses with an underscore it seemed logical to strip this from the code to create a user-account.
SO I DID..... and got myself a hanky afterwards... :-(
What happened ??? The script returned an error when I tried to create a user. OK.. can live with that, have to dig in to the code a little more.. 1st put the parameter $underbar_pseudonym back in it's place (SME 5.1.2. line 636 of /etc/e-smith/web/panels/manager/cgi-bin/useraccounts) and hope it comes back to normal (as usual people suspect).
There I made a BIG mistake.... the code runs again without any errors except 1 pretty personal related error... WHERE ARE MY ACCOUNTS ??? the database suddenly SEEMS empty.
Who has a resolution for this weird behaviour and even better... who can provide me with the instructions how to take out the underscore-alias-code?
Thnx in advance.
Harro
-
OK OK...
I was a little fast in my posting to this board but in case somebody else tries to do the same..... here is the resolution to get control over the user-database again.
%> chmod 4750 useraccounts
It seems that the 4 fell off after editing the file. Now I have control again.
Remains 1 question... How to remove the underscore-alias-code SAFELY from the script ??
Harro
-
Confucius wrote:
> Remains 1 question... How to remove the underscore-alias-code
> SAFELY from the script ??
Why do you want to? Do they do any harm?
Charlie
-
Charlie,
Nope, not harm, but when you want to keep your system within agreed lines and it doesn't fit in I prefer to strip it.
It's not a major topic but still would be nice if I could determine my own lines in this situation. Think of it as a macro for the template. That would be the best solution. This way people could automate the whole procedure themselves.
And another thing I was confronted with is the amount of "in between" names we use here in Holland. Things like "van der" and "van" or "de" in between are not uncommon and SME/ESSG are not ready for this. It comes up with strange suggestions. I know that a very nice dutch example : Van Halen (the popgroup) became vanhalen in the USA and that solves it for u guys there... but here we still suffer from the napoleon-inheritance.
Just info... not a major item..
Grtx, Harro