Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Network connection problem in unix Post 302292418 by candlejack on Friday 27th of February 2009 09:00:01 PM
Old 02-27-2009
For real? Can you do this and post the output?

whoami
ls -l /etc/resolv.conf
ls -l /etc/nsswitch.conf
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Network problem Unix

Changed from a broken Switch to a working HUB everyting else in my network is ok after the change but not my RS/6000! It refuses to get connected, get time out on Pings both ways - strange? Could it be some problem with ARP?:confused: (2 Replies)
Discussion started by: jolun
2 Replies

2. UNIX for Dummies Questions & Answers

Connection problem with gui java program to postgreaql database using unix

Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar:proj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me... (2 Replies)
Discussion started by: uci
2 Replies

3. IP Networking

network Problem with unix open solaris

Dear Member:- Kindly be I am facing a problem with my open Solaris release b101 1- vi /etc/hostname.reg0 This is my IP address xx.xx.xx.xx 2- vi /etc/netmasks This is my subnet mask 3- vi /etc/defaultrouter This is my gateway 4- vi /etc/resolv.conf This is my DNS written with this way ... (2 Replies)
Discussion started by: dellroxy
2 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. Solaris

Why network connection is down?

Hello colleague, Development department is deploying some applications on solaris machine but hence all connection goes down. Our all network connection files are correct but we can't connect with our gw. Only we can ping localhost and assigned ip address. I don't want to reboot for... (4 Replies)
Discussion started by: getrue
4 Replies

6. Linux

Network connection

Hi, I installed linux Fedora on a virtual machine, but the network connection is not working. All firewalls are off. Any ideas what is the problem? I am using WiFi. Thanks in advance! Regards, Atanas (2 Replies)
Discussion started by: apenkov
2 Replies

7. Solaris

network connection failing

hi, I'm setting up a home lab and I am having problems keeping my connection open on putty. every time i leave it for about 10 seconds and come back I keep having to re-connect. I'm more of a AIX person and trying to get more fimilar with Sun but some of the commands I am trying to run to diag... (2 Replies)
Discussion started by: vpundit
2 Replies

8. Programming

UNIX Network Programming making files problem

I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and the readme says I must make the files. zuro@zuro:~/book/unpv12e$ cd lib zuro@zuro:~/book/unpv12e/lib$ make gcc -g -O2 -D_REENTRANT -Wall -c -o... (5 Replies)
Discussion started by: xuro
5 Replies

9. Programming

UNIX network programming execution problem

I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and performed all the steps present in README file.Now when i compile my first program it give the following error. sainandan@nandan:~/unpv13e/intro$ ./daytimetcpcli... (1 Reply)
Discussion started by: bsainandan
1 Replies

10. Solaris

Solaris Network Connection

Hi, Recently we faced awkward situation where we cannot connect to Oracle DB that hosted in Solaris server intermittently and it timeout eventually. The server seems fine. We can putty to server like normal but when try do prstat, it takes time and come out Please Wait.. for a while. When we go... (1 Reply)
Discussion started by: tharmendran
1 Replies
whoami(1B)					     SunOS/BSD Compatibility Package Commands						whoami(1B)

NAME
whoami - display the effective current username SYNOPSIS
/usr/ucb/whoami DESCRIPTION
whoami displays the login name corresponding to the current effective user ID. If you have used su to temporarily adopt another user, whoami will report the login name associated with that user ID. whoami gets its information from the geteuid and getpwuid library routines (see getuid and getpwnam(3C), respectively). FILES
/etc/passwd username data base ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
su(1M), who(1), getuid(2), getpwnam(3C), attributes(5) SunOS 5.10 14 Sep 1992 whoami(1B)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy