Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: betaftpd with root acess?< Next Oldest | Next Newest >
xcoil Offline





Group: Members
Posts: 6
Joined: May 2005
Posted: May 05 2005,19:57 QUOTE

i can access with success to my betaftpd with the user:xcoil
(that´s me :d)

but with as "root" the login its not possible it said login incorrect.

but i´m the administrator and the user and passw are right.

it´s possibel to access as root? or impossible?
Back to top
Profile PM 
Guest
Unregistered






Posted: May 06 2005,16:48 QUOTE

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.
Back to top
1 replies since May 05 2005,19:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: betaftpd with root acess?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code