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 Messages
Name: Param Krish Date: April 24, 2002 at 12:15:54 Pacific
Comment:
Hi
I want only one of the user to have a separate .profile, and some login messages. This is not for everyuser. I am running Solaris 8 on Sparc. If i did setup a shellscript to get executed in the .profile automatically when the user logins in, it looks like i cannot remove access from .profile to that user. If i give no access, it does not get executed. what should i do? A shell script requires Both Read & Execute access , is it? Why not only a execute access?? i dont want anyone to read it.. Moreover, if i remove Read access from the .profile, i found, the user can easily rename the file and hence, the very purpose of the shell script called from the .profile is also failing..
Is there a solution to implement the same in another way??
Name: PaulS Date: April 25, 2002 at 07:59:20 Pacific
Reply:
If you want to limit a user's environment, you may want to set up a restricted shell. Take a look at the man page on rsh (/usr/lib/rsh). The implication is that you could create a .profile that would cd to a restricted home directory, set a path for only restricted commands, and so on. You might also be able to trap signals (interupt) in the .profile to prevent the person from doing a ctl-c.
But I don't think you can do much with changing permissions.
Summary: I need info on how to set up user login notifaction messages. These would be displayed immediately after a login is successful. The messages would be "Last Successful Login XX/YY/ZZZZ at aa:bb:cc" a...
Summary: I have this Ultra 1 desktop with an ASCII terminal attached. At the login prompt, when either 'root' or user login or even a single letter entry or wrong user ID, the terminal immediately come backs...
Summary: Dear Fellows, I have successfully installed Solaris 8 on my AMD Athelon 600 Mhz machine, during the installation i have been asked for HOSTNAME and in the end i have been asked for ROOT PASSWORD, now ...