Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Enthusiast
    Join Date
    Oct 2004

    In other words, next time please explain WHY you want to do it like that.
    Otherwise, people who are willing to help might not understand why

    As for the question you asked, have a look here: link.

  2. #12
    Thanx for the link. I am facing another issue.
    When I edit the /etc/passwd am also asked to edit /etc/shadow and etc/group files. How to edit these files while creating a user.

  3. #13
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    CA, but from N.Ireland
    /etc/shadow is the file that holds the encrypted version of the password, and I've no idea how you'd edit that by hand. To set this, log in as the user, and use the passwd command.

    /etc/group is the file that states which users are members of which groups. That one's easy to edit -- just go through it and add your user to the groups you'd like him/her to be a member of.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  4. $spacer_open

Posting Permissions

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