PDA

View Full Version : Programming the et server


Red*Fox
02-04-2007, 04:42 PM
http://tjw.org/etded/

im having trouble with programming this code with centos.
root:x:0:0::/:/bin/bash
et:x:603:603:enemy territory server:/enemy-territory:/enemy-territory/etded.x86

im lazy so i just copy the code straight from the site into my terminal


on the
root:x:0:0::/:/bin/bash command i get No such file or directory

on the et:x:603:603:enemy territory server:/enemy-territory:/enemy-territory/etded.x86
command i get comamnd not found
do i still need to be in /lib?

danieldk
02-04-2007, 05:41 PM
It's a line from /etc/passwd. It is a bad idea to modify that file directly, unless you know what you are doing. You can properly create this entry with:


su -
(enter root password)
useradd -m et -d /enemy-territory/ -s /enemy-territory/etded.x86


After that you will have to set the correct ownership for the files:


chown -R et:et /enemy-territory


And if you want to set the account password:


passwd et


BTW, it is bad practice to just drop directories in /.