Can I rename a user??

Beartooth Beartooth at swva.net
Tue Jun 10 22:34:07 UTC 2008


On Tue, 10 Jun 2008 15:42:24 -0500, Kevin Martin wrote:

> Beartooth wrote:
	[...]
>> 	No doubt, when he's done this a while, he'll alter them all. But
>> if it were me, I'd prefer starting with *something* to work from,
>> rather than having to re-invent my whole workspace(s) from scratch. Can
>> I give that to him? How?
   
> Rename the user in /etc/passwd and /etc/shadow and wherever the users
> home directory is to the new user.  The uid will stay the same in this
> case.  The only problems that might arise is if the existing user name
> is somehow embedded in any of the config files, data files, etc. that is
> used for the session information, etc.
 
	Ehh ... Yes, alas!

> FWIW, you might be better off doing another new install and handing him
> a box with /his/ user name already in place with whatever tweaks, etc.
> you setup for yourself.

	I would prefer that, on general principles, yes; and if I knew 
where all that tweakage lives, I'd make a master copy of it and save 
myself a lot of bother; I could just scp it to each new install. But my 
guess is that it's scattered all over Fedora in spots ... <sigh>

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.




More information about the fedora-list mailing list