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 greetings
Name: Aiikahn Date: October 12, 2002 at 05:17:09 Pacific OS: Win 98 CPU/Ram: 128
Comment:
Does anyone know how to write a script to find out if a particular user is logged in to unix and send a greeting if there logged in; otherwise, if they're not return a message they're not logged on.
I'm still a beginner at this and I know you can use the 'who' command to find who's logged in but how do send a greeting to them by using the 'write' or 'echo' command. I tried using the 'write' command but it kept saying the write permission is off.
Name: David Perry Date: October 12, 2002 at 06:39:05 Pacific
Reply:
The environment variable mesg is set to either 'y' or 'n'. If it is set to 'n' for a user the refuse write messages and talk messages. A wall message gets sent to everyone that is logged on to the current system. A wall message is terminated with control-d. The root user ignores to value of mesg and can write to a user's console regardless.
Summary: Holiday Greetings to all, I recently installed Mini 4.7 FreeBSD. On bootup I was asked to login. What is the default login id and password? I wasn't aksed to creat or assign a login account or passwo...
Summary: Holiday Greetings to all, I just completed the installation of Mini 4.7 FreeBSD. What is the default login id and password? sa seemed to work for the login, What password do I use? Thanks and Cheers...
Summary: I'm writing automated test scripts for SCO 5.x and UnixWare 2.x and 7.x. I would like to know how to automatically login (as root) after a reboot (user and password). This would be for testing purpo...