Find the answer to your Linux question:
Results 1 to 3 of 3
How can I manualy create user accounts, wihtout using the useradd command? I think is has to do with modifying the /etc/passwd, /etc/shadow, and /etc/group, but am not sure. Any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    2

    User accounts


    How can I manualy create user accounts, wihtout using the useradd command? I think is has to do with modifying the /etc/passwd, /etc/shadow, and /etc/group, but am not sure.
    Any help would be great!

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204

    why?

    You COULD add users manually by modifying the /etc/passwd file, but useradd or adduser (depending on which Mandrake uses, I don't remember) is a better method. The Control Center will even set the defaults properly for you if you use it, making it possibly the best solution.

    If you just want to learn what the tools are actually doing, then I always recommend using the proper tool and then taking a look at what has changed in the config file.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    2

    user accounts

    Ya, i know how to use the adduser command, i just have an assignmnet question that wants me to give step by step instructions for doing it manualy without using commands. I'll try your advice about looking at the changes in the config files, that should do it i hope.
    thanks much

  4. $spacer_open
    $spacer_close

Posting Permissions

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