Solved

Messages OFF command ...

Posted on 1998-05-27
5
253 Views
Last Modified: 2013-12-27

 Hi!

 Does anybody knows how to disable the information about your mail when a user types finger 'user'.

Usually happens like this when you type 'finger user'

Login: user                            Name: Unix User
Directory: /home/user           Shell: /bin/sh
Last login Wed May 12 22:14 (EDT) on ttyr4 from xxxxx
Last Mail Read on 4:45 on May 12 etc.
No mail.
No Plan.

I have seen many out there that can turn off the message display from the finger command.

When I finger them it comes like: (messages off)
 
How this can be done. I log on a Solaris.

 How can I disable even showing the last time I login if this can be done ...
0
Comment
Question by:albberat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
n0thing earned 20 total points
ID: 2007272
You cannot prevent others from fingering you if the admin leave the finger deamon on.
The message off you're seeing is to stop other from "write"ing to your tty. You could
turn it off by typing "mesg n".
All login information are kept in /var/adm/utmp and wtmp file. You cannot delete your login information unless you are root. The only way to stop people from fingering you is to ask your Unix admin to disable fingerd on your system.

Regards,
Minh Lai
0
 
LVL 1

Author Comment

by:albberat
ID: 2007273
Your answer is partial. I copy some of the finger samples from the system.

This is me before typing 'mesg n' ...
-----------------------
Login name: user                        In real life: UnixUser
Directory: /home/user                   Shell: /bin/csh
On since May 28 07:25:26 on pts/12 from xxxxxxx
37 seconds Idle Time
No unread mail
Plan: No plan for today ...
------------------
(I have set the permission 744 for the .plan file)

This is me after typing 'mesg n':

-------------------
Login name: user        (messages off)  In real life: UnixUser
Directory: /home/user                   Shell: /bin/csh
On since May 28 07:25:26 on pts/12 from xxxxxxxx
37 seconds Idle Time
No unread mail
Plan: No plan for today ...
---------------------

This is an example of somebody else ... where you can see that he has not displaying the mail selection ...

----------------
Login name: user1       (messages off)  In real life: USER1
Directory: /home/user1                  Shell: /bin/csh
On since May 24 10:34:35 on pts/8 from  xxxxxxx
-----------------

As you see he has not any mail notification outputed by finger. I do not run as a root on that Solaris, but I can run as root in my Linux at home ... You are right. The directory /var/adm where the adminstration files, syslog, xferlog(ftp), users logins and etc. are kept is unreadable by others. I have not play at all with those write, talk command and I had no idea how they were linked with the finger daemon. Is any way I can disable and turn off that mail notification ...?

 Thanks ...
 
0
 
LVL 5

Expert Comment

by:n0thing
ID: 2007274
Hmmm .. if you are on the same system. I really don't know how the other guy could do that, .plan file and .project file cannot affect the fact the fingerd display those basic mails on Solaris. Other Unix variant like AIX, OSF don't display that information. It depends on the Unix variant you use.

Regards,
Minh Lai
0
 
LVL 1

Author Comment

by:albberat
ID: 2007275
 
Well I have tried those .plan and .project files too in my Linux. I log as a root there(Linux) or using 'su' most of the times and I still can not get rid of those in a functional way. I did the same thing on my school Solaris but no effect at all. I do not know the guy who does this kind of trick and I even can ask him either. Well I have attached below these lines what they run.

----------------
This display when I log in ... "The welcome day message"
----------------
Welcome to xxxxxx, a Sun Enterprise 3000 running Solaris 2.5.1 (SunOS 5.5.1)
------------------------

------------
When typed 'version' in the command prompt:
--------------

Machine hardware:   sun4u
OS version:         5.5.1
Processor type:     sparc
Hardware:           SUNW,Ultra-Enterprise

Installed Applications: ....
xxxxx

-----------------------

Is any solution, configuration, extra file ....? So far n0thing has partially answered what I want, although I want to go this to the bottom. I know Unix is a deep world and I like to know some of it ...

Thank you ....

 
0
 

Expert Comment

by:elvaaa
ID: 2007276

Have you tried those .project file for any configuration in them. I have seen that some guys do manage those messages outputed by finger through .profile file. However it is logical to me that you can turn that information off as long as it is your mail there.

 OK.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux : adding the new user with password option, 11 126
Parsing a file using ksh 10 78
Unix Question 19 53
Solaris acount issues 44 48
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question