04-03-2006
generally speaking there's no way to do so unless you want to grep shell history files (because in a case of NIS it uses YPs), however you can prevent the info be provided at all in a future, you can set "~/.nofinger" file in your home directory and it will reject user's existance from any requests that come from network. You also can change the info, finger will provide by "chfn" command. Get "UNIX Essentials and Core" DVD if you have questions like that.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how would i go about getting the username of the person currently logged in, and then using the username in a shell script? i've tried variations of
user=whoami , 'whoami' , $whoami , and none of the above work :( lol
I'd like to get the username to then mount a network share such that the... (9 Replies)
Discussion started by: willc0de4food
9 Replies
2. UNIX for Dummies Questions & Answers
hi there,
i'm new to UNIX( just 3month used),
i found my new box contained alot of files and directories in /home/box/
i've tried to search script in tis forum and found many of them but, i don't know
how to combine them to make a script, although using pipes.
my tasks are:
1) to scan user... (5 Replies)
Discussion started by: Helmi
5 Replies
3. Shell Programming and Scripting
Hello All,
If I have a simple cgi script and want to find the name of the person accessing the page, is it possible? How do I get the name of this user? Please help.
I was trying a vague method but it doesn't seem to work with all browsers and versions ...
$val=$ENV{'HTTP_COOKIE'};
$name... (1 Reply)
Discussion started by: garric
1 Replies
4. Shell Programming and Scripting
Hi,
I need to a shell script to list out only the username in the /etc/passwd file.
Regards
Siva (7 Replies)
Discussion started by: gsiva
7 Replies
5. UNIX for Dummies Questions & Answers
hey guys plz help me..with shell script.
i must find the given(the user types a username) username if is it login or not..
i know how to do it logically, but i think that i can't in scripting.
Thank you all (5 Replies)
Discussion started by: aintour
5 Replies
6. Post Here to Contact Site Administrators and Moderators
Is it possible to change my username in this site or is thre a way to delete my account and then create a new one with a diffrent user name (2 Replies)
Discussion started by: floresr
2 Replies
7. UNIX and Linux Applications
hello -
A SystemOut.log file has recurring entries that follow this format:
Principal: auth9.nick.al.gov:389/USERNAME
Over the course of a day thousands of lines similar to this are produced, with each username represented hundreds of times.
I need to create a new file that shows... (4 Replies)
Discussion started by: 1075FJ40
4 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi..
I want to change my username, is there any way by which I can do it?
Thanks in advance.. (3 Replies)
Discussion started by: laxmi Sharma
3 Replies
9. UNIX for Beginners Questions & Answers
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
CHFN(1) Linux Reference Manual CHFN(1)
NAME
chfn - change your finger information
SYNOPSIS
chfn [ -f full-name ] [ -o office ] [ -p office-phone ] [ -h home-phone ] [ -u ] [ -v ] [ username ]
DESCRIPTION
chfn is used to change your finger information. This information is stored in the /etc/passwd file, and is displayed by the finger pro-
gram. The Linux finger command will display four pieces of information that can be changed by chfn : your real name, your work room and
phone, and your home phone.
COMMAND LINE
Any of the four pieces of information can be specified on the command line. If no information is given on the command line, chfn enters
interactive mode.
INTERACTIVE MODE
In interactive mode, chfn will prompt for each field. At a prompt, you can enter the new information, or just press return to leave the
field unchanged. Enter the keyword "none" to make the field blank.
OPTIONS
-f, --full-name
Specify your real name.
-o, --office
Specify your office room number.
-p, --office-phone
Specify your office phone number.
-h, --home-phone
Specify your home phone number.
-u, --help
Print a usage message and exit.
-v, --version
Print version information and exit.
SEE ALSO
finger(1), passwd(5)
AUTHOR
Salvatore Valente <svalente@mit.edu>
chfn October 13 1994 CHFN(1)