08-02-2011
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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I work on some hp ux 11.00 Servers. i have to add an user. i use the useradd command like follows: useradd -u 72022 -g 71095 -c " comment " -d /PACKAGE_NAME/home/username -s /usr/bin/sh username
The command returns with error 3. The manpage means value number 3: Invalid argument supplied to an... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
2. Solaris
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
3. UNIX for Dummies Questions & Answers
How do I change domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (3 Replies)
Discussion started by: lucas
3 Replies
4. IP Networking
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
5. UNIX for Advanced & Expert Users
Hi Experts,
when using useradd command, what are the necessary options/arguments to be included?
Please advice. (4 Replies)
Discussion started by: etcpasswd
4 Replies
6. Windows & DOS: Issues & Discussions
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
7. Solaris
if useradd command is deleted in solaris how do we add user (3 Replies)
Discussion started by: vivek_ng
3 Replies
8. UNIX for Dummies Questions & Answers
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
9. Solaris
I want to creat a 27 logins in solaris.Can anyone tell me how to write a script for that so that i create at a time for all 27 people.
Thanks to guide me. (6 Replies)
Discussion started by: kkalyan
6 Replies
10. UNIX for Dummies Questions & Answers
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
LEARN ABOUT OPENDARWIN
nidomain
NIDOMAIN(8) System Manager's Manual NIDOMAIN(8)
NAME
nidomain - NetInfo domain utility
SYNOPSIS
nidomain -l [ hostname ]
nidomain -m tag
nidomain -d tag
nidomain -c tag master/remotetag
DESCRIPTION
The nidomain utility is an interface to nibindd(8), to which it sends all of its requests about the domains served on a given machine. It
also can be used to create and destroy NetInfo databases.
The nidomain utility will allow one to create multiple levels of NetInfo hierarchy, but it is not a particularly easy way to do it. One
should use the NetInfo Manager application for setting up multilevel hierarchies.
OPTIONS
-l [ hostname ]
List the domains by tag served on the given hostname. If hostname is unspecified, the local host is used.
-m tag Create a new NetInfo database and server on the local machine for the domain tag of tag.
-d tag Destroy the local NetInfo database and server associated with the domain tagged tag. If the database was associated with a clone,
the machine's ``serves'' property on the master is NOT modified to reflect the fact that the database has been deleted.
-c tag master/remotetag
Creates a clone NetInfo database with the domain tagged tag. The database is cloned from the machine master and remote tag remote-
tag. The machine's ``serves'' property should be set up prior to running this command to contain the entry "./tag".
SEE ALSO
nibindd(8)
Apple Computer, Inc. March 23, 1989 NIDOMAIN(8)