Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Restricting user Home directories
Name: phanee Date: September 20, 2005 at 00:47:50 Pacific OS: Solaris 8 CPU/Ram: 120 MB
Comment:
i want to enter two entries in auto_home. it is allowing only one entry. the entries looks like this, * router:/export/home/& * router:/export/home1/& there r many users that i cannot give seperately. the user names looks as su1, su2, su3, su.... and du1, du2, du3, du.... how must i give the entries in auto_home. please reply soon. its urgent x)
Name: former33t Date: October 2, 2005 at 10:30:18 Pacific
Reply:
Not to shoot you down, but I don't think you can do it that way directly from auto_home. We had a similar situation and ultimately just ended up listing the lower density of the two individually.
You can script the addition of entries into auto_home very easily, so this isn't a big deal other than having larger NIS maps (which is not really a big deal).
If anyone knows a better way to do this, please post it... Otherwise, I would say that is the way to go.
Summary: well...adding that the /usr/lib/rsh to the /etc/shells file now allows me to FTP in as that user but, it does not restrict my shell to that users /home directory. It will allow me to cd to directories...
Summary: Can any one explain me why the home directories on the server and the clients differ? I mean why is that the home directory on a server /export/home/user and /home/user on a client. I am asking this Q...
Summary: hello i create the user account and also create its home directory # useradd -u 5555 -G root,sysadmin -s /sbin/sh -d /export/home/test test # passwd test password:xxxxxxxx confirm password: xxxxxxxx ...