Results 1 to 4 of 4

Thread: Cannot update user information with usermod on NIS server

  1. #1
    chufall NNTP User

    Default Cannot update user information with usermod on NIS server

    Hi,
    I have setup a NIS server on a master suse 11.1 server, which syncs users betweem several servers.

    I login the master server with a ssh client ,and I can add a user with useradd.

    But when I update a user's primary group with usermod like:
    'usermod -g testgroup testuser',which means change the primary group of user named 'testuser' to 'testgroup'.
    The system given a error:
    RPC: Timed out.
    and nothing is changed.

    But if I do the same operations though YaST , it's works.

    So what reason cause that? Please do me a favour.

    Thank you very much!

    Qc

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Cannot update user information with usermod on NIS serve

    From a slightly more up to date version of the usermod man page than openSUSE has dated May 2006 (dated June 2006, from RHEL5.3 in fact):

    CAVEATS
    ...
    You must make any changes involving NIS on the NIS server.
    So obviously YaST is doing more than just calling usermod the way you are.

  3. #3
    chufall NNTP User

    Default Re: Cannot update user information with usermod on NIS serve

    Quote Originally Posted by ken_yap View Post
    From a slightly more up to date version of the usermod man page than openSUSE has dated May 2006 (dated June 2006, from RHEL5.3 in fact):



    So obviously YaST is doing more than just calling usermod the way you are.
    So do you know How the YaST did it? How can I did the same thing as what the YaST do with command lines?

    Thank you very much!

    Chu Qiu

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Cannot update user information with usermod on NIS serve

    No, not really.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •