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.
login restriction
Name: srinivasam_ks Date: February 17, 2004 at 03:56:51 Pacific OS: solaris 9 CPU/Ram: 1GB
Comment:
I want to restrict a particular login to a particular IP. I want to keep this in one of the shell initializatio files like : if [ $LOGNAME = 'username' -a -fromhostIP != "machineIP" ] then echo " You are not allowed to ligin " exit fi
But I don't know if there is a function or env variable which can return the IP of the machine from which the login request is coming. Please let me know if such feature is available. thanks, mitra.
Summary: Is there any way in solaris to restrict network logins on a per user basis? Can the same mechanism of restricting Network Logins to root (/etc/default/login) be used? Thanks ...
Summary: Hi, Maybe you can use the /usr/bin/X11/xhost command to restrict access initially. You can setup an access list to control login. Lemme know if this is what u need TaaKie ...
Summary: I am trying to use an account with the default shell in the /etc/passwd file as Restricted Shell /usr/lib/rsh. I want this account to be able to FTP into a single directory only. The problem that I am...