Cameron Smith cameron@networkredux.com writes:
There are seven fields on each line in a typical Linux "/etc/passwd" file.
For a line that looks like this: root:x:0:0:root:/root:/bin/bash
- root: Account username.
- x: Placeholder for password information. The password is obtained from
the "/etc/shadow" file. 3. 0: User ID. Each user has a unique ID that identifies them on the system. The root user is always referenced by user ID 0. 4. 0: Group ID. Each group has a unique group ID. Each user has a "primary" group that is used as the group by default. Again, the root group's ID is always 0. 5. root: Comment field. This field can be used to describe the user or user's function. This can be anything from contact information for the user, to descriptions of the service the account was made for. 6. /root: Home directory. For regular users, this would usually be "/home/username". For root, this is "/root". 7. /bin/bash: User shell. This field contains the shell that will be spawned or the command that will be run when the user logs in.
I would take a look at that user's line in /etc/passwd and see what their home directory is set to.
The user is set up correctly. Nothing changed other than that the disks holding the directory are now in the server rather than in the client, exported from the server via nfs and mounted through an fstab entry on the client.
I´m using this right now, and it works fine other than the user not ending up in the home directory and emacs not applying everything from ~/.emacs.
As far as I can tell, what is not applied is
(custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:inherit nil :stipple nil :background "black" :foreground "green" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 78 :width normal :foundry "unknown" :family "DejaVu Sans Mono")))))
which is the second last line in ~/.emacs. Perhaps there´s more which is not applied without me noticing yet. However, there could be another reason for that; I´ll have to figure that out later.