Results 1 to 7 of 7

Thread: How to add a user? ADDUSER as root does not work!!!

  1. #1
    Guest

    How to add a user? ADDUSER as root does not work!!!

    I have tried to add a group and a user to my knoppix-box for FTP purposes, but I get only error-messages:
    When I (as Root) type:
    addgroup ftp
    I get the following:
    • Adding group ftp (1001)...
      rpcinfo: cann't contact portmapper: RPC: Remote System Error - Connection Refused
      groupadd: unable to open shadow group file
      addgroup: '/usr/sbin/groupadd -g 1001 ftp' returned error code 10. Aborting.
      Cleaning up.

    A similar message appears when trying to add a user.
    What did I do wrong?

    Knoppix 3.1 running from CD. Started up with boot-disk.
    Network configured and working.

  2. #2
    Member registered user
    Join Date
    Jan 2003
    Location
    Florida, US
    Posts
    41
    groupadd: unable to open shadow group file
    Many of the files in etc can not be written to when running from the CD.

    Check the status of the files by typing in a root console
    Code:
    ls -l /etc/gshadow
    ls -l /etc/group
    I don't think it has anything to do with the boot disk. But what is the problem that it can not boot from CD

  3. #3
    Member registered user
    Join Date
    Jan 2003
    Posts
    54
    Sorry, I noticed I was not logged in when I posted this.

    I cannot start from CD-ROM because the BIOS won't let me. But that's not the problem (I think).

    How can I change the status of those files? I am not exactly a gourou in Linux, you should know.

  4. #4
    Member registered user
    Join Date
    Jan 2003
    Posts
    54
    Code:
    ls -l /etc/gshadow
    • lrwxrwxrwx 1 root root 20 jan 22 2003 gshadow -> KNOPPIX/etc/gshadow


    Code:
    ls -l /etc/group
    • -rw--r--r-- 1 root root 701 oct 9 18:45 group


    Code:
    ls -l /KNOPPIX/etc/gshadow
    • -rw--r----- 1 root root 501 aug 17 13:57 gshadow


    So it is a question of how to get the rights to do that.

  5. #5
    Member registered user
    Join Date
    Jan 2003
    Posts
    54
    I did manage to solve this problem.

    Removed the link gshadow in /etc.
    Copied gshadow from /KNOPPIX/etc to /etc
    changed permissions of /etc/group and of /etc/gshadow
    in code:
    Code:
    cd /etc
    rm gshadow
    cp /KNOPPIX/etc/gshadow gshadow
    chmod 766 group
    chmod 766 gshadow

    After this I could run addgroup and adduser.

    Thanks.

  6. #6
    Member registered user
    Join Date
    Jan 2003
    Posts
    54
    I'm sorry,

    I was a little to quick. When adding a user there are 3 messages that say
    Code:
    rpcinfo: cann't contact portmapper: RPC: Remote System Error - Connection Refused
    After this a home-directory is created and so on.
    The user is made and I can login, but I think still some things won't work.

    I tried to turn my Knoppix-box into a ftp-server.
    (see http://www.knoppix.net/forum/viewtop...362&highlight=)

    Now I think the problems I have might be caused by the errors when making a new user.

    Does someone has also this experience?
    Knows someone how to avoid the error-message?

    Thanks.

  7. #7
    Guest
    Although I still get the error-messages and would like to know what is happening, it's not urgent anymore. The problems with ftp are solved. It was not a problem of the way the user was made.

Similar Threads

  1. Root User
    By NewGuy in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 12-25-2004, 02:59 AM
  2. Still no sound as user...only root
    By rrfish72 in forum General Support
    Replies: 14
    Last Post: 09-26-2004, 01:36 AM
  3. help with root user
    By zuzo in forum General Support
    Replies: 6
    Last Post: 12-21-2003, 05:19 PM
  4. Call me Crazy- my user and root and admin password dont work
    By dennison_b in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-07-2003, 05:04 AM
  5. mouse in root console and adduser
    By andrei in forum General Support
    Replies: 3
    Last Post: 08-10-2003, 04:07 PM

Posting Permissions

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


HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$119.80



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



64GB (4X16GB) DDR3 1866 DIMM Apple Mac Pro Late 2013 A1481 MacPro 6,1 Memory Ram picture

64GB (4X16GB) DDR3 1866 DIMM Apple Mac Pro Late 2013 A1481 MacPro 6,1 Memory Ram

$37.49



HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN picture

HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN

$129.95



A-Tech 64GB Kit 2x 32GB PC4-25600 Laptop SODIMM DDR4 3200 MHz 260-Pin Memory RAM picture

A-Tech 64GB Kit 2x 32GB PC4-25600 Laptop SODIMM DDR4 3200 MHz 260-Pin Memory RAM

$123.99