09-14-2008
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
We have a shared development box, running Solaris 10 that is an NIS client, all the developers have local root password. If they know the NIS uid of another user, they can just do
% useradd -u <uid> login
And then log in as that user and have full access to his files in his home directory. ... (3 Replies)
Discussion started by: nfw
3 Replies
2. UNIX for Dummies Questions & Answers
how can i find my own ip address from unix. command like who -x .this would provide all the ip address but i need to list only current user ip address. who am i command does not display the ip. (9 Replies)
Discussion started by: naushad
9 Replies
3. OS X (Apple)
Hi,
I'm brand new here and looking for a solution:
I'm using mail or mailx. The default reply address is «myshortusername@mylongusername.local» which makes absolutely no sense for anybody receiving my emails.
But how do I change it? There seem to be many solutions but none for Mac OS X.... (0 Replies)
Discussion started by: gczychi
0 Replies
4. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
5. Shell Programming and Scripting
Hi Gurus,
I have a script that requires me to switch from local user to root. Anyone who has an idea on this since when i switch user to root it requires me to input root password.
It seems that i need to use expect module here, but i don't know how to create the object for this.
... (1 Reply)
Discussion started by: linuxgeek
1 Replies
6. Solaris
Here is the log im pasting for verbose ssh:
-bash-2.05b$ ssh -v qa_fnp@10.41.11.23
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will... (5 Replies)
Discussion started by: kirtikjr
5 Replies
7. UNIX for Dummies Questions & Answers
How to fetch only local user without duplication from /etc/passwd using scripting?? (4 Replies)
Discussion started by: AhmedLakadkutta
4 Replies
8. UNIX for Dummies Questions & Answers
I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account.
The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies
9. Shell Programming and Scripting
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
10. UNIX for Advanced & Expert Users
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies
LEARN ABOUT SUSE
tnm::netdb
netdb(n) Tnm Tcl Extension netdb(n)
__________________________________________________________________________________________________________________________________________________
NAME
netdb - Access the local network databases.
_________________________________________________________________
DESCRIPTION
The netdb command provides access to network information that is stored in configuration files, the Network Information Service (NIS) or in
the Domain Name System (DNS). The results of the netdb command usually depend on the local configuration of your operating system.
NETDB COMMAND
netdb hosts
netdb hosts name address
netdb hosts address name
The first version of the netdb hosts command returns a list of all locally known hosts. Each element of this list contains a host
name and its IP address. The result is an empty list on many systems that are configured to use the DNS for hostname lookups. The
second version of the netdb hosts command converts an IP address into a host name and the third version of the netdb hosts command
converts a host name into an IP address.
netdb networks
netdb networks name address
netdb networks address name
The first version of the netdb networks command returns a list of all locally known networks. Each element of this list contains a
network name and the IP network address. The second version of the netdb networks command returns the network name that belongs to
the IP network address and the third version of the netdb networks command returns the network address that belongs to a given net-
work name.
netdb protocols
netdb protocols name number
netdb protocols number name
The first version of the netdb protocols command returns a list of all locally known Internet protocols. Each element of this list
contains a protocol name and its protocol number. The second version of the netdb protocols command returns the protocol name that
belongs to number and the third version of the netdb protocols command returns the protocol number that belongs to a protocol name.
netdb services
netdb services name number protocol
netdb services number name protocol
The first version of the netdb services command returns the list of all locally known services. Each element of this list contains a
service name, the service number and the transport protocol. The second version of the netdb services command returns the service
name for the service described by number and protocol. The third version of the netdb services command returns the protocol number
for the service described by name and protocol.
netdb sunrpcs
netdb sunrpcs name number
netdb sunrpcs number name
The first version of the netdb sunrpcs command lists all locally known Sun RPCs. Each element of this list contains a RPC name and
its registration number. The second version of the netdb sunrpcs command returns the RPC name for a given RPC number and the third
version of the netdb sunrpcs command returns the RPC number for a given RPC name.
netdb ip class address
netdb ip range address mask
The first version of the netdb ip command returns the IP class of the given address. The following classes are recognized: A, B, C,
D and loopback. The second version of the netdb ip command returns the list of IP addresses in the address range given by address
and mask.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm netdb(n)