Manually Adding Users & Groups


Well-Known Member
Oct 4, 2006
By a shred of badluck, the accounts we copied over to the new server is all owned by root and the respective owners-users are not created under /etc/passwd nor /etc/groups

Since we already deleted the old sites, we cannot re-copy them again hence we need to manually add the users and then do a chown to assign the directories to the correct users.

How can we do this?

1. Adding the users manually to the correct jailed shell (ie:/home/username)
2. Adding the groups too.

Thank you in advance.