Guest
Unregistered
|
|
Posted: May 06 2005,16:48 |
|
Not a good idea. For security reasons, no daemon process should allow access to user "root". However, you should be able to login as user "dsl" and this should be good enough. User "dsl" can browse and download anything from the entire directory tree, and upload to directories which "dsl" has write access.
If what you wanted to do is upload a file into a directory that user "dsl" cannot write to, you are better off using the sshd secure shell daemon. First make sure to set very strong passwords to "root" and "dsl" users on the computer running DSL. Then start the sshd daemon from the DSL menu -> system -> daemons -> ssh -> start. Then take note of the IP address of this computer (sudo pump -s).
Now, on the remote computer (Linux or Windows), make sure that you have either a secure shell terminal software (ssh) or a secure ftp client (sftp). Almost all Linux distributions have them: just type "sftp dsl@xxx.xxx.xxx.xxx", give the password, and use it like ordinary console-based ftp. For Windows, download and use the PuTTy sftp program. Upload the files to /home/dsl first using sftp.
Then on the remote computer, use the ssh (or PuTTy ssh) to login as user "dsl". Once you are in, you can change your access priviledges by doing "sudo su" to become a superuser. With this, you can move the file to wherever you want as long as that location is physically writeable.
You can imagine from the previous paragraph that having a daemon that would allow a superuser to log in is a big security risk. Do not leave any daemon running, no matter how strong you think your passwords are, unless all superuser accounts such as "dsl" are not allowed to log in.
|