You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, October 31st 2003, 6:31pm

Rename the username

How can i rename the username
for example form jim to mike
?

2

Friday, October 31st 2003, 7:22pm

Not sure if it's enough. But:

Edit /etc/passwd and /etc/shadow as root and replace
jim with mike in the line where jim appears.

[code:1]
jim:x:503:100:Big Jimmy's real name:/home/jim:/bin/bash
# Change to
mike:x:503:100:Big Mikey's new name:/home/mike:/bin/bash
[/code:1]

then rename the home-dir.

[code:1]
/> cd /home
/home/> mv jim mike
[/code:1]

This should work. But I will not guarantee anything :lol:. Consider triing it with some test-user first ;-)
Expect the worst, it's the least you can do.