[tech] Renaming accounts, was "Wheel being the Illuminati..."

Felix von Perger frekk at ucc.asn.au
Wed Mar 13 23:12:31 AWST 2019


Hi all,

Moving this to tech@ since it's not really committee-related.

Renaming accounts is a fairly nightmarish process that is probably 
easiest done by creating an entirely new account, then moving files and 
dispense credit over to the new one.

It might be possible to rename the account in AD, although that would 
require further testing, and would likely cause more problems than it 
would solve.

In recent history I was able to "rename" /dragonxdoom/ to /donsuth/ by 
creating a new account under the correct name, then copying the files 
across to a directory under the new account's homedir, then chowning 
everything so that the permissions were correct. Note that simply moving 
the old homedir to the new location doesn't work since it breaks Windows 
roaming profiles completely (even if the permissions are correct, it 
will say "access denied" when you try to login under the new username). 
As for dispense, simply transferring the old account balance to the new 
account should be sufficient, and it doesn't seem like deleting dispense 
accounts is implemented anywhere. Card logins for the snack machine will 
probably remain associated to the old account unless you can somehow 
(re)associate them with the new account, which may be a problem.

On another note, the /etc/bind/domains/primary/zonemake.py script on 
mooneye currently seems broken, so it's not possible currently to 
refresh member domains and virtualhosts. It might be related to possible 
(now fixed?) duplicate account UIDs but I haven't had time to debug.

- [FVP]

On 13/3/19 10:48 pm, James Andrewartha wrote:
> On Wed, 13 Mar 2019, David Adam wrote:
>
>> If you would like to rename your account, you can ask a Wheel member or
>> email wheel at ucc.gu.uwa.edu.au. (I don't know that we've ever actually done
>> this, but https://serverfault.com/a/929192/10056 makes it sound like it's
>> possible.)
> We did it with Alwyn's account, but that was 18 years ago in the age of NIS.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ucc.gu.uwa.edu.au/pipermail/tech/attachments/20190313/a8536527/attachment.htm 


More information about the tech mailing list