The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    users and groups actting weird

    Discussion in 'Linux Compatibility and Software' started by Tailic, May 23, 2008.

  1. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    I just got CentOS up and running on my Athlon 3000+ machine and after logging as root and trying to create a new user I would go to the system menu and click on "users and groups" and I would sit there waiting for something to come up. After waiting awhile nothing happens. I wouldn't mind using the shell to make a new user but my linux skills aren't that far along yet :eek:

    Any suggestions? I really don't want to be using root all the time. Maybe I overlooked something...
     
  2. prol91

    prol91 Notebook Consultant

    Reputations:
    54
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    30
    From a shell type in adduser[/B] as root.
    this is what i did


    Login name for new user []: prol

    User ID ('UID') [ defaults to next available ]: (PRESS ENTER)

    Initial group [ users ]: (PRESS ENTER)

    Additional groups (comma separated) []: wheel,storage,optical,disk,video,audio,floppy,lp

    Home directory [ /home/prol ] (PRESS ENTER)


    Shell [ /bin/bash ] (PRESS ENTER)


    Expiry date (YYYY-MM-DD) []: (PRESS ENTER)


    New account will be created as follows:

    ---------------------------------------
    Login name.......: prol
    UID..............: [ Next available ]
    Initial group....: users
    Additional groups: wheel,storage,optical,disk,video,audio,floppy,lp
    Home directory...: /home/prol
    Shell............: /bin/bash
    Expiry date......: [ Never ]

    This is it... if you want to bail out, hit Control-C. Otherwise, press
    ENTER to go ahead and make the account.
    (PRESS ENTER)
     
  3. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    I'm having a bit of a problem using the useradd command, the syntax is useradd (option) login. I got it to make a user, add a password but I can't log in using it. Just about every other option I try just brings up the menu of available commands. Do I need to create a home for the new user? If I try it just tells me that user exists, very annoying. Maybe I need to make a group first? It doesn't seem to need it though.

    /edit Does it want me to add directories after the option? What would be the syntax for that? from the options menu it seems like it just wants the command, option, and user name to edit the stuff.
     
  4. andyasselin

    andyasselin Notebook Deity

    Reputations:
    140
    Messages:
    1,690
    Likes Received:
    0
    Trophy Points:
    55
    Have you try run user and group from a terminal?

    you shound be able get command name on the menu shortcut maybe it will give you reason why it not open if you can see error in terminal
     
  5. prol91

    prol91 Notebook Consultant

    Reputations:
    54
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    30
    tell me what users you have made till now and post the output of
    cat /etc/group
     
  6. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    I got it, I needed to make a group for the user first then add the user to it. Just adding a user in of itself wouldn't work.

    Weird thing is Users and Groups under the administration tab wouldn't do a thing when selected, which still had me baffled. Even selecting it under the new user wouldn't work, it'll just ask for the root password and just sit there. So much for using the GUI to add users.

    Thanks for the help