Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A GUI tool to change the short username' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A GUI tool to change the short username
Authored by: alexg@ebi.ac.uk on Jun 01, '04 08:15:43AM
Something went wrong when I tried this, and I found there were some steps missing in the repair/recover section of the docs.

You need to bring up the localhost with

ifconfig lo0 127.0.0.1 up

and the local netinfo server with

netinfod -s local

before you run the recover command

niload -d -r / -t localhost/local < local-ChangeShortName....
This had me panicked for a while so I thought other people might be in the same boat...

[ Reply to This | # ]
A GUI tool to change the short username
Authored by: JBucanek on Jun 01, '04 03:35:05PM

alexd,

I'm sorry to hear you had trouble running our script, but I'm afraid that we can't do much about your particular situation, and I'm not inclined to make any changes in the documentation based on your results.

Under normal circumstances, lo0 should never be down. Likewise, netinfod should always be running. (And note that you should have started netinfod as root.)

Normal users can't encounter these conditions. On the other hand, if you are using ifconfig to alter your network connection state, or stopping netinfod for some bizarre reason, you must accept the functional conflicts that are bound to result.

There are actually lots of possible conditions that would cause out procedure to file, and that we can't anticipate. Maybe you replaced your home directory with a dynamic mount point. Maybe your httpd config files are dynamically generated. Any of these would cause our procedure to fail. But if you are making these kinds off modifications to your system, it's expected that you know what to do about it.



[ Reply to This | # ]
A GUI tool to change the short username
Authored by: elmimmo on Sep 06, '04 12:53:35PM

Are you sure about that? Note that one would only want to type those commands when entering single user mode, as suggested in your Docs, in case something went wrong. Is netinfod really supposed to be running when in single user mode.

Whatever the answer is, I also had problem (ChangeShortName simply created a new user but did not mv the former user home folder), and niload just stays there doing nothing. Top revealed netinfod is not running when booting in single user mode, but unfortunately following alexg advice did not make niload work either.



[ Reply to This | # ]