Need to add computer account to suse server

Posted on 2005-04-21
Last Modified: 2013-12-16

I need to add a windows XP workstation to a SUSE server. I have Unix expierence from about 7 years ago but I' not at all up to date with it anymore. I need a command line script to add this workstation "News-center" to the server. I tried the standard way as if you would be doing it to a Windows server and keep getting "cannot find user name" when using the administrator or root credentials. So I'm guessing I'll need to use the useradd command. All I need to do is add the computer account. The users are already added. I'm giving high points because I need this yesterday.
Question by:vfret

    Author Comment

    I should also add that the system I'm trying to add is a replacement system of one that had already existed on the network. So the system name is already listed in the /etc/passwd file.  
    LVL 8

    Expert Comment

    Where do you want to add your XP?

    Author Comment

    I was able to get things to work. The problem was that I was trying to change the system name at the same time I was trying to add it to the domain. Once I changed the system name to what I wanted it to be and rebooted, it worked.
    LVL 8

    Assisted Solution

    If you want your XP to be resolved by the SuSE and don't want to use dns on SuSE
    use just /etc/hosts
    Change the line of XP in the /etc/hosts
    Example: XPname

    No reboot are need.
    LVL 38

    Accepted Solution

    > Once I changed the system name to what I wanted it to be and rebooted, it worked.
    Hostname change involves a lot of dependency. Since a lot of services, X11 display, network ID is based on the
    hostname, you need to reboot the system after you renamed the hostname.
    Otherwise, a lot of services will break/malfunction.
    Because the hostname change you did is on memory and some configuration files, but the running services are
    still bind to the old hostname.
    After reboot, then you can safely do other stuff.

    Author Comment

    Even though I solved the problem myself, I gave you two the points because you ofered information that I wasn't clear on. Thanks for your input. Vfret

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now