On Fri, Dec 11, 2009 at 02:17:27PM +0000, Alex Birchall wrote: > Hi, > > For some reason (maybe a slip of the wrist?), a home folder for an > ordinary user on my Ubuntu server has disappeared (nothing vital lost). > The user is still there. Can I just recreate the user's home folder, or > should I delete the user and create another one?
cp -R /etc/skel /home/username chown -R username.username /home/username That'll copy the skeleton userdir format and chown it to the required person. If your using a different group setup (like using the "user" group instead of making one per user) just change the username after the . on chown. -- Andrew Williams w: http://tensixtyone.com/ e: andy (at) tensixtyone.com
signature.asc
Description: Digital signature
-- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
