Skip to main content

Thread: help-changed home folder name, now can't log back in


hi,

changed home folder name , can't log in.
used these commands
website:
http://askubuntu.com/questions/10756...ithout-the-gui

code:
sudo -i    next use following commands,    change "old" old user name, , "new" new desired name.    usermod -d /home/new -m old    sed -i -e 's_old_new_g' /etc/passwd    sed -i -e 's_old_new_g' /etc/group    sed -i -e 's_old_new_g' /etc/shadow

can me?
i'm using xubuntu 12.04

you realize sed commands change login name , user private group name 'old' 'new' (not home dir name), right?

did want do?

can log in @ 1 of cli virtual terminals (ctrl-alt-f1, ctrl-alt-f2 etc.) using 'new' name?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu help-changed home folder name, now can't log back in


Ubuntu

Comments

Popular posts from this blog

Thread: Ubuntu and MySQL ?

Thread: Job Opening - Linux Systems Administrator