Hi all, how i can see which in my os version of suse and how to enter as root from a remote connection ??? is there some rule to disable that permit to enter with root user?
cat /etc/SuSE-release
ssh root@_your_IP (ssh daemon must be active and firewall open - port 22)
Hi, thanks for your reply,(i must say that i am a begginer with suse)
how to activate the ssh and how to open the port 22, i am trying to connect via putty, and i am trying to do a ftp but i get an error “login incorrect” i think it’s 'cause the firewall is not allowing the connection how to solve this, thanks
You should not enter from remote directly as root. You should enter (using ssh as mentioned above) as a normal user and then use *su - *or *sudo *to become root as and when needed.
Se also: SDB:Login as root - openSUSE
Hi, maybe i have not explained well, i have a windows system and i am trying to access my suse server from putty(emulator) if i get into with a different user that root it allow me the access but if i try to do it with root appears “login incorrect”
the second point is: i am trying to do a ftp from windows, when i write the user and password appears a message “login incorrect” (i’ve tryied with several users with the same result)
thanks
If I interprete correctly what you say it is:
When I login as a normal user it works (fine). but if I login as root it says “login incorrect”. That is as it should be. You should NOT login as root! And it is blocked to remind you that you are doing something wrong.
And for your second problem (ftp). Which ftp service is running on your system? (I have e.g. pure-ftp running via xinetd).
Follow hcw guidelines, but:
sshd enables/disables root login reading the config file that should be in /etc/ssh/sshd_config (PermitRootLogin or something similar).
hcw:
Good link! Thank you.
Henk you are interpreted well, i know that i should not try to enter with root user, but i want to do it, i remember with red hat i been able to do it (changing some ipchains rules)
the ftp service is the normal ftp from windows, i have an aix system and i have not problems accessing it, i think it’s due to the suse’s firewall
thanks
Sorry, but when you ftp FROM your windows system, that is the CLIENT program.
When you ftp to your openSUSE system, there is your SERVER program.
I am talkng about the server (on openSUSE) The server program can be one of many, all with there own way of configuring and yes, when you have the firewall on, it must allow the ftp (21) and ftp-data (20) ports.
Ok Henk, i don’t have idea which version of ftp i have in my suse system(i am begginer working with suse), but i have 2 issues to solve, my questions are simple, and i would like simple answers(1. login with root user from a emulator program and
2. ftp from windows to suse it’s appearing “login incorrect” after write user and password), do you know how to solve it ?
Point one: you got an answer from acez (see above), so I did not go into that one (you did not report if it helped or not).
Point two. I have no windows knowledge whatsoever. I only asume that using a standard compliant ftp-client on any OS wil work with any Linux ftp-server. When you encounter problems I can only help you on the openSUSE side. It may be a configuration problem. But the configuration depends on the server you use. When you do not know what is running on your openSUSE, a bit more information from youu might help. I means things like:
. how did you start your ftp service (using YaST, some other means,…)?
. did you try to ftp from another linux (of course only possible when you have more Linux systems in your LAN)?
. what is the output (as root) of
netstat -ap | grep ftp
?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Find out which version of the FTP service you have on your box:
rpm -qa | grep -i ftp
Logging in as root via SSH is as everybody said… a bad idea in any case
but acez also gave you the file to modify to allow it. Run the following
to apply the setting he mentioned should you decide to change it:
sudo /etc/init.d/sshd restart
To make FTP work we must know the data above (the rpm command) though so
please provide that.
Good luck.
wall 545 wrote:
> Ok Henk, i don’t have idea which version of ftp i have in my suse
> system(i am begginer working with suse), but i have 2 issues to solve,
> my questions are simple, and i would like simple answers(1. login with
> root user from a emulator program and
> 2. ftp from windows to suse it’s appearing “login incorrect” after
> write user and password), do you know how to solve it ?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKP2r4AAoJEF+XTK08PnB5flwQALK1gocu70/NnGqwalJhhCUL
xpxwXBelro5XMzCy8rHok6RIPzjQq1l3B/3csHC8tJ1blcncB8khW2v8tyUQG4pt
Pwa25j+iOAjnQv4yXQ4bq3CN5kaznFil6348u6N83B+x31KS3P/+ZueKvkkuh37n
QaI2KWol2hFep8GWLqsn+z+xq1yotVgwRha8Ht6ZcdKM9D+UfPPomfhr1dfZqhmK
D4ZavxvvYLuY5Taj9wqGnhh+SPeZa05RFzYqMsZJZO32F6VRuF8Cc4a+HRHFC2fd
sKlktSeIQuWEpYuyrntD3UhUJojdglA6BcHmahIEXviLfn7K/GCfeNa4tYNFMenc
uCsrt/ZqIkOynUxZ71OHTK3F/MoQlqOXKs3f95WwqBSvhj0NOMeVRCPudRojTspP
H8y3kCqzxAaAbl2GrvUohwJdJkiWyun12cMnY6WFqmbX4lPJvBh6TtYseRgf15BJ
5ZZJW05NtoqT9jefmZN1HRSoOXoQWVxI8vPQjK8mIMRpsu03S+wgv+wiHi7W0Skf
jArCr32D+XSZbvZjMujrh44WmxrLk+qQ37FKcAD/jxo4mLElLt9VQyDe7Hsid9Oi
FF+2acC2NgQqoXVCCgv4+EA+TTqGp2Tvy4v52P2Lx8V4vbSZ/zL5VqkP/E2Ku/un
td9UHGkKhdnZXhoW0xab
=dn/D
-----END PGP SIGNATURE-----