subarus

Group: Members
Posts: 75
Joined: May 2004 |
 |
Posted: Jan. 08 2005,07:35 |
 |
I cant believe I am asking this question, but I really do not know how to change password of user 'dsl'. I DO KNOW how to add new user & assign password, I also know how to change password for 'root' using interactive command line.
I am trying to setup a headless server (ie no mouse, no keyboard, no monitor) to be used as fileserver, ssh server, vnc server, web server, ftp server and perhaps as firewall/proxy server) why headless? because I think I should be able to turn on the power switch and control the machine from anywhere.
using winiso, I can place DSL, samba.dsl, bootlocal.sh in one cd. By editing the bootlocal I plan to config smb.conf, start ssh server + all other server daemons. but I realise that to connect to ssh server, I need password. I can add new user remotely, but the catch is I need to set root password on server, but I cant do it on the machine with nohead!
I figure that my only hurdle to accomplish my goal is to find out how to configure a set of user/pass within bootlocal.sh script so that I can remote login to via ssh.
Does anybody know howto, USING BASH COMMAND SCRIPT (ie not interactive command line) to : 1) set root password to a default (temporary) password 2) add new user/pass 3) change dsl password
BTW I plan to run livecd with no boot options
|