Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do I change domain name from shell? Post 302193240 by sysgate on Thursday 8th of May 2008 09:02:28 PM
Old 05-08-2008
When you're saying : domain - what exactly you are referencing to ? Is this the line residing in the /etc/resolve.conf file ? Also, what is your OS ?
 

10 More Discussions You Might Find Interesting

1. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

2. IP Networking

How do I change domain name from shell?

How do I change domain name from shell? And How do I check the domain name from shell? I know how to change hostname but not domain. Please help me. Thank you, (2 Replies)
Discussion started by: lucas
2 Replies

3. Shell Programming and Scripting

how to change shell from BASH to C

hi all, how can i change my shell from BASH to C shell? i am using cygwin. (3 Replies)
Discussion started by: npatwardhan
3 Replies

4. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

5. UNIX for Advanced & Expert Users

How to change file name using shell ?

Hi.. I have a list of input files as below:- NXUPM.P999309.201002011144 NXUPM.P999409.201002011145 NXUPM.P999509.201002011146 NXUPM.P999609.201002011146 NXUPM.P999682.201002011201 I want to change it as below:- NXUPM.P999309_999408 NXUPM.P999409_999508 NXUPM.P999509_999608... (5 Replies)
Discussion started by: bh_hensem
5 Replies

6. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

7. UNIX for Advanced & Expert Users

useradd I want to change domain

Good morning every body When I add a new user the domain is my hostname I want to change it to my local domain EXample my computer hostname is X when I create a new user Y and he logged I see X@Y and me I want to have Y@localdomain Think (1 Reply)
Discussion started by: gone
1 Replies

8. Shell Programming and Scripting

Shell script to change the ip

I am writing a simple DHCP server application that gets ip from a server at boot up ! i wrote a shell script to run the java program that obtains ip from server on another machine... The problem is when i have obtained the ip i store it in a file ! using awk i retrieve the... (1 Reply)
Discussion started by: dinesh17
1 Replies

9. UNIX for Dummies Questions & Answers

Unable to change domain user passwords

Hi, I'm new to this site, so my apologies if this is posted to the wrong board. I'm the student administrator of a small computer science lab (20 Win 7 PCs) at a university. The logins to the PCs are handled by samba (v. 3.5.8) on a CentOS server (kernel v. 2.6.9-100.ELsmp). Recently I ... (1 Reply)
Discussion started by: kerona
1 Replies

10. Shell Programming and Scripting

Is it possible to change shell icon?

I have an application that runs through bash shell and i want to change the shell icon , so when i copy my application to another computer the shell can still run , can i do that ? because i try with .desktop its failed (0 Replies)
Discussion started by: caladblog
0 Replies
DOMAIN(8)						    InterNetNews Documentation							 DOMAIN(8)

NAME
domain - nnrpd domain resolver SYNOPSIS
domain domainname DESCRIPTION
This program can be used in readers.conf to grant access based on the subdomain part of the remote hostname. In particular, it only returns success if the remote hostname ends in domainname. (A leading dot on domainname is optional; even without it, the argument must match on dot-separated boundaries). The "username" returned is whatever initial part of the remote hostname remains after domainname is removed. It is an error if there is no initial part (that is, if the remote hostname is exactly the specified domainname). EXAMPLE
The following readers.conf(5) fragment grants access to hosts with internal domain names: auth internal { res: "domain .internal" default-domain: "example.com" } access internal { users: "*@example.com" newsgroups: example.* } Access is granted to the example.* groups for all connections from hosts that resolve to hostnames ending in ".internal"; a connection from "foo.internal" would match access groups as "foo@example.com". BUGS
It seems the code does not confirm that the matching part is actually at the end of the remote hostname (e.g., "domain: example.com" would match the remote host "foo.example.com.org" by ignoring the trailing ".org" part). Does this resolver actually provide any useful functionality not available by using wildcards in the readers.conf(5) hosts parameter? If so, the example above should reflect this functionality. HISTORY
This documentation was written by Jeffrey M. Vinocur <jeff@litech.org>. $Id: domain.pod 8200 2008-11-30 13:31:30Z iulius $ SEE ALSO
nnrpd(8), readers.conf(5) INN 2.5.3 2009-05-21 DOMAIN(8)
All times are GMT -4. The time now is 12:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy