[CentOS] usermod under CentOS

Tue Feb 21 18:48:50 UTC 2017
m.roth at 5-cent.us <m.roth at 5-cent.us>

Beartooth wrote:
>
> 	My wife's PC, running CentOS 6, suddenly quit connecting to the
> Net. Autodidact that I am, I fumbled with all the hard- and software I
> could find or dared try, but did no good.

Should we assume that you have another computer running, and that it's not
having network issues? What did dmesg say, or is this all water under the
bridge?
<snip>
> 	They called to ask whether I wanted to specify a username &
> password, or just use their default dummies. I chose the dummies -- and
> realized in the night that I've never changed a username before.

Try this: do a useradd for her, and perhaps for you. Then, as root, move
the files to her home directory, and then chown -R herusername:hergroup
~herhome/*
>
*THEN* userdel the dummy accounts.

That way, just in case they installed something you don't want (incl.
malware), will be disabled. Then you can poke around in the dummy home,
etc, and when you don't find anything you want, *then* rm -rf ~dummy
<snip>
        mark