I've been thinking about a way to do this, and have also search this forum, google and the unix man pages, and what I've come up with is to use getwuid to get the users home direcotry and then use chidr with the home path I got from getwuid and then use scandir to show the continens of the users home direcotry. My Question is, if this is a good way of doing it and if there is some other way which might be recommended to use?