-
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.
-
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
-
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.
-
- lrwxrwxrwx 1 root root 20 jan 22 2003 gshadow -> KNOPPIX/etc/gshadow
- -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.
-
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.
-
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.
-
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
-
By NewGuy in forum MS Windows & New to Linux
Replies: 1
Last Post: 12-25-2004, 02:59 AM
-
By rrfish72 in forum General Support
Replies: 14
Last Post: 09-26-2004, 01:36 AM
-
By zuzo in forum General Support
Replies: 6
Last Post: 12-21-2003, 05:19 PM
-
By dennison_b in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-07-2003, 05:04 AM
-
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
-
Forum Rules

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF
$215.00

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs
$1999.97

Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W
$699.00

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99

Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules
$399.98

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99

Intel H2000 4 Node H2216XXKR, 2x 1600w PSU HPC Server Chassis 16x 2.5"
$199.99