On Thu, 25 Oct 2001 11:22:20 -0700 "Taylor, ForrestX" <[EMAIL PROTECTED]> wrote:
> I am using NIS to authenticate, and I want to create a home > directory/symlink the first time that someone logs in to the machine. I > only set up one home directory in /home (/home/user1), but when user2 > logs > in to that machine, there is no /home directory. Is there any way to > get > the login script to check for the existence of a /home directory, and if > it > doesn't exist, create one or create a symlink to an automounted home > directory (i.e. /rhome/user2)? The best way would be to write a pam module that would do this. It runs as root, so this should be easy enough. Erik ------------------------------------------------------------------------------- | "Amazingly, there are significant numbers of 30-something women now who | | want to learn how to box - something that most sensible American men gave | | up years ago." - New York Times Magazine | _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list