08-04-2009
how to find server name
How to find server name , i need command .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
2. UNIX for Dummies Questions & Answers
How can I tell what lpar on AIX is the NFS server? For some reason today I am drawing a blank on what the process name is to search for. (1 Reply)
Discussion started by: vigsgb
1 Replies
3. Solaris
Hi All,
Could any one pls tell me how to find whether a unix server is a stand alone server or its in a cluster.
I need a command through which i can find whether the unix m/c is clustered or not.
Thanx in advance
Regards,
Naveen (1 Reply)
Discussion started by: Naveen Kumar V
1 Replies
4. Solaris
Hi experts
Is there a command or a way in Solaris to find server details like this:
SUN240R
2 @ 160MHz CPU
1Gb memory
Solaris8
lan0 (16SV LAN) 100FD
lan1 (45CI LAN) 100FD
lan2 (8CON LAN) 10HD
lan3 (38SY LAN) 100HD
Thanks (1 Reply)
Discussion started by: lalelle
1 Replies
5. UNIX for Advanced & Expert Users
hi,
how to find whether we are working in keon or non-keon server in unix
thanks in advance (0 Replies)
Discussion started by: trichyselva
0 Replies
6. UNIX for Advanced & Expert Users
hi
is there any way to find out all the shells on server i know bash / ksh are available on all servers but just for Curiosity i want to know .. is there any command for that ???
i can find it out by this
$ /usr/bin >find . -name \*sh
./remsh
./csh
./ksh
./rsh
./chsh
./rksh
./sh... (3 Replies)
Discussion started by: zedex
3 Replies
7. Shell Programming and Scripting
suppose there are in 10 different server
how can i know in which server a process (ex:oracle )is running (6 Replies)
Discussion started by: alokjyotibal
6 Replies
8. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
9. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
10. How to Post in the The UNIX and Linux Forums
I have a list of servers which has both VIP and normal server. Is there a command to identify which server is a VIP and which is a normal server?
Please help. (1 Reply)
Discussion started by: Usha Rajesh
1 Replies
LEARN ABOUT REDHAT
nwauth
NWAUTH(1) nwauth NWAUTH(1)
NAME
nwauth - Verify username/password
SYNOPSIS
nwauth [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -D ]
DESCRIPTION
nwauth does nothing but logging into a NetWare server. If the login was successful, an error code of 0 is returned. If the login was not
successful, an error code of 1 is returned. It was designed for use by other programs who want authenticate users via a NetWare server.
If there is no -P or -n option specified on command line, nwauth always expects a password on stdin. If the stdin is a tty, then the user
is prompted for a password. Otherwise nwauth simply reads stdin for a password.
nwauth looks up the file $HOME/.nwclient to find a file server and a user name if they are not specified on command line. See nwclient(5)
for more information. Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
-h
-h is used to print a short help text.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-D
nwauth says that your password is correct if you have existing connection to server with name user name. This is handy for some shell
scripts, but it is unacceptable for authorization modules, such as PAM, PHP or Apache. It was pointed to me that this behavior was not
well known, and there exist at least one PAM module which does not know that (this module is not part of ncpfs; you should use PAM mod-
ule which comes with ncpfs instead anyway).
SEE ALSO
nwclient(5)
CREDITS
nwauth was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
nwauth 10/27/1996 NWAUTH(1)