Red Hat / Fedora :: Chmod -R G=rwx On /bin And /sbin / Cant Connect To Machine Using Root Through Telnet, Ssh, Scp, Rsh?

May 6, 2009

I did chmod -R g=rwx on /bin , /sbin

now I can not connect to the machine using root through telnet, ssh, scp, rsh or any means.

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Want To Be Able To Telnet Into Machine To Access It Remotely

May 11, 2010

I'm a computer technician and I'm interested in learning Linux. I did some research about the different distributions last night decided to try Fedora. I downloaded the latest version of it and installed it onto a brand new machine in my office. Is there a website out there that I can use as a guide for all of the Linux commands. I know that if I wanted to I could just learn my way around the gui, but I want to REALLY learn Linux. I also want to be able to telnet into the machine so that I can access it remotely. How can I set that up? I installed Fedora with all of the default settings and didn't change anything.

View 4 Replies View Related

Programming :: Script - If Telnet Root Hostname Fails Then Try To Ssh In - Error "Unable To Connect To Remote Host: Connection Refused"

May 11, 2010

I'm trying to make an SSH script for my place of employment. This script, I want to go out to the server hostnames we have specified (in another file) and change a users account password. We use Kerberized telnet, so if telnet root hostname fails, I want it to use ssh username hostname and use the old password (specified). If both fail, I want it to ask the user what the port should be and input the port in the ssh command.

But I'm having a issue having it try telnet root hostname and if it fails then, try to ssh in, I have no clue how to have it proceed. Is it an if statement? Here's the telnet failed message: telnet: Unable to connect to remote host: Connection refused

View 7 Replies View Related

Fedora :: Using Lxterminal To Connect To A Telnet Session On Another *nix Box

Jun 22, 2011

I am using lxterminal to connect to a telnet session on another *nix box.

After I connect, I always have to enter the command

Code:
export TERM=xterm

is there anyway to automate this?

View 3 Replies View Related

Fedora Servers :: Allow Users To Connect To Virtual Server Using Telnet?

Mar 9, 2010

I've a Windows 7 host OS and I've installed Fedora 11 as a Virtual OS using Virtualbox.I want a friend of mine to connect to my Fedora server using telnet from internet. What I would like to know is how do i configure my Virtualbox to allow my friend to connect to my server. Also, is there any setting I need to change in Fedora to allow this?

View 9 Replies View Related

Red Hat / Fedora :: Telnet - IP - Is Giving Unable To Connect To Remote Host - Connection Refused

Nov 26, 2010

I am doing some R&D on 11g RMAN in oracle at home. i have installed oracle enterprise linux and i have installed oracle software. when i am trying to configure listener, it is error-ed out. i have verified that telnet with the port is not working and i am seeing connection refused error.

View 3 Replies View Related

Software :: Change From /sbin/sh To /bin/bash For 'root'?

Feb 19, 2011

As I login as root, the bash is /sbin/sh. So I have problem to run script under /ect/rc3.d/myScript

So I want to change the bash from /sbin/sh to /bin/bash.

View 2 Replies View Related

Fedora Networking :: Using Putty To Connect To A Machine / Host Name And Port To Connect?

Jul 23, 2010

Right now I have a machine set up running Fedora. I have configured inittab to accept Console Logins, but I am having problems getting my netbook running PuTTY to connect. How would I go about finding the Host Name and Port to connect to?

View 6 Replies View Related

Security :: Can't Su To Root, After Chmod -s /bin/su

Mar 7, 2011

When I try to issue "su -", I get "su: Authentication failure", and I'm 100% sure password I enter is ok.

I think it started to happen after I issued
chmod +s /usr/bin/screen
chmod 755 /usr/bin/screen
which I believe is unrelated to this problem, and,
chmod -s /bin/su (-s by mistake)
chmod 755 /bin/su
which most probably made the whole mess...

this is not the part of the problem I believe but here's some background why I did that... when trying to make possible for screen sessions to be started automatically on boot under non-root account, I entered something like "su - username -c "/usr/bin/screen -dmS screenname ./executable-file"" in bootmisc.sh, but I was getting "must run suid root for multiuser support", so I tried to fix it, and now I can't login to root account no way.

View 5 Replies View Related

CentOS 5 Networking :: How Do I Set Sbin In Default Path For Non Root User

Jun 25, 2009

I'm running a server with CentOS 5 where the software that needs to run on the server uses ifconfig to verify the system IPv4.The problem is that /sbin isn't set for the user that is supposed to run the software (sadmin) which means the software can't execute ifconfig and thus terminates.now the workaround I've been using is simply to input.

View 10 Replies View Related

Ubuntu :: How To Enable Telnet On 10.10 Virtual Machine

Mar 5, 2011

I have been searching for the past hour trying to figure out how I can enable telnet on my Ubuntu 10.10 Virtual Machine.I am using VirtualBox to run my VM. I am trying to access that VM using PuTTy but most everything I have seen says I have to enable telnet first.The directions that I have found say to go to System > Administration > Services and enable telnet.I have nothing called Services under Administration.

View 9 Replies View Related

Ubuntu :: Windows Can Ping But Not Telnet To New Machine?

Jun 13, 2011

I am setting up Ubuntu to be a firewall type device for a windows computer. (I later want to use Internet sharing or something like that.) The Ubuntu machine has two NICs. The internet NIC works but one light is always orange (even when there is no patch cable connected to it). I can access the Internet fine from the Ubuntu machine. I have a cross over cable connected to the second NIC. This cable connects to the Windows laptop. The windows laptop can ping the Ubuntu machine. But I cannot ping the windows machine from the Ubuntu machine. When I try to telnet to the Ubuntu machine from the Windows machine (over port 23 or 80) it says "cannot connect."

From the Ubuntu machine I issued this command:

# iptables -A INPUT -p tcp --dport 80 -j ACCEPT

I used ufw status and found that the firewall was not enabled on the Ubuntu machine. The default gateway of the second NIC is the IP address of the Windows machine. The default gateway of the Windows machine is the IP address of the Ubuntu machine.

View 1 Replies View Related

Ubuntu :: Chmod File Permissions Between User And Root ?

Jan 26, 2011

I want to have two kind of users in a work machine having ubuntu 10.04,

1) He is the admin, have sudo privilages and install, do all types of work, his username is abhilash

2) A user who is normally a IT administrator, who can just install or remove softwares, but cannot access files of abhilash.

I'm trying to do this and my head is going blank, The problem where i'm stuck is, if IT admin can install softwares, then he can become sudo as sudo su, then he can view my files

So here is a small test i did, first with abhilash.

Code:

Now others and group don't have any permissions! But when IT Administrator becomes root, he can see this file

Code:

View 5 Replies View Related

Ubuntu :: Give Chmod Rights To Another User Using Root?

Jul 18, 2011

I have my own 16GB sandisk cruzer flash drive, I've already mounted him and can read on my own user, but I can write on it only using root. how can I give my user Chmod +x on the folder /media/XXX ?

View 7 Replies View Related

General :: Unable To Telnet To A Windows Server Machine?

Aug 28, 2010

Why am I not able to telnet to a Windows server machine? Is it because the telnet server is not running there? A remote desktop connection works though.

Does a telnet server run by default on a Unix machine?

View 3 Replies View Related

General :: Shutdown Windows Machine Remotely Without Telnet / Ssh

Apr 28, 2011

I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box:

Ensured no firewall
Started Remote Registry Editing service
Shared a network drive (to enable file sharing?)
Created a user 'shutdown' specifically for shutting down
Added 'shutdown' to Administrators group
Added 'shutdown' to the list of allowed shutdown users in gpedit.msc

Here's what I have tried:

From Windows 7 box:
shutdown -m computer (Access denied message)
psshutdown -m computer (Access denied message)
runas /user:computershutdown "cmd /K shutdown -m computer (access denied)
runas /user:shutdown "cmd /K shutdown -m computer (access denied)

From Linux box:
net rpc shutdown -I computer -U user%password (says shutdown succeeded) rpcclient -I x.x.x.x -c shutdown -U user (gives usage message)

View 1 Replies View Related

Red Hat :: How To Know Ipaddress Of The Machine Which Is Broadcasting Message In Telnet Sessions

Aug 5, 2010

there are many telnet sessions with same login. somebody is always broadcasting message how to know the ipaddress of that machine.

View 1 Replies View Related

General :: Enable Root Telnet On SLES 11?

Oct 13, 2010

I have a task I need to enable root telnet on SLES 11.I know about security hole, it is a must requirement accordingly to executing some scripts.Telnet works for the other user , but not for rootSSH work properly.Added pts/0 .. pts/24 to the /etc/securetty

View 5 Replies View Related

Red Hat :: Cannot Login Via Ssh On A Single, Non Root Account - Telnet Ok

Sep 9, 2010

a user called, cannot login - forgot the password - common case ( 200 user system )- but this one seems to be a bit different:

user tries to log in via ssh - login/passwd incorrect,
via telnet - no problem

tried a few different users on ssh - no problem... It seems the access denied applies to just a single, standard user account - only via ssh, all other users are able to login... tried also to change the passwd, no difference. beside re-creating the account, can you think about anything else? system: RHEL AS3, 2.4.21-51ELsmp

View 11 Replies View Related

Red Hat / Fedora :: Unable To Login As A Root In 11 Machine

Feb 11, 2010

not able to Login as a root in my fedora 11 machine , but I can login with other user.when I login with as a root user the error occurred "user authentication failed ". After login with user account when I open Terminal and try to login with same username = root and Password= admin then I can login .

View 3 Replies View Related

General :: Connect To Telnet To Server

Mar 24, 2010

I would like to make a telnet connection to one server. I can't do this at first beceause i necesary to connect to another server. I use the program putty and this is the command to connect to my first machine:

[Code]....

View 2 Replies View Related

General :: Not Able To Connect System Pc Via Telnet / Why Is So?

May 10, 2010

How to eneble telnet in linux based os?

I'd tried this command:

telnet my pc ip & name

View 3 Replies View Related

CentOS 5 :: Connect To The Ftp Server - Error "buffer Overflow Detected ***: /usr/sbin/vsftpd Terminated Error:Could Not Connect To Server"

Sep 24, 2011

every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server

View 1 Replies View Related

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

Jul 17, 2010

I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.

-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix

[code]....

View 1 Replies View Related

OpenSUSE :: Unable To Use Telnet To Connect To Smpt Server

Apr 17, 2011

I'm using something like telnet [URL] 25 and it comes back as not being able to connect to host on port 25. I don't have port 25 blocked anywhere. I turned off the firewall and even opened up port 25 on the hardware firewall router. If I ping it I can connect.

View 2 Replies View Related

Ubuntu Servers :: Can Connect Via Squirrelmail And Telnet But Not Through Mail

Apr 11, 2010

I setup my mail system on a clean install of Postfix and Dovecot from URl...on the:URL... part everything checks out yet when i input the details into Apple Mail it tells me That it Can't connect.I can Connect via Squirrelmail and telnet but not through mail.also my /var/log/mail.log s not recording anything and my mail.log.1 only goes up to april 6

View 2 Replies View Related

Networking :: Socket Programming - Connect To Port Y On IP X With Telnet

Sep 16, 2010

I have a customer who is complaining that they can connect to prt y on IP x with telnet. They are seeing the following:

telnet x.x.x.x y
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.

after some time the connection of course times out. Connection closed by foreign host. There is no telnet service running on this port so they cannot do anything, but they are complaining tht the fact that telnet "connects" is a security risk. I am having difficulty explaining why they are able to connect with telnet. I know it has to do with the socket layer API in Linux but I am having difficulty explaining this sufficiently. I also can't just say "this is the way linux works" to them. I am looking through "UNIX Network Programming" by W.

View 3 Replies View Related

Networking :: Telnet: Connect To Address 127.0.0.1: Connection Refused

Jul 8, 2011

I am facing an error when I run the following command telnet localhost 7777

Trying ::1...

telnet: connect to address ::1: Connection refused

Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

View 2 Replies View Related

Programming :: Telnet: Connect To Address 127.0.0.1: Connection Refused

Jul 21, 2010

I want to create script wherein it will check the application if its running. The command that I'll be using to check the application is telnet (if you can recommend others, that's ok). I've an application and it is listening to port 1808. If I do telnet localhost 1808, the response is :

Code:

[root@test ~]# telnet localhost 1808
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

What I want to happen is if the response is like to code above, it will execute a commands. Obviously, above code knows that the application is not working so I need to execute a commands. I created a script before using expect but I don't think it will work because I haven't establish a shell yet unlike successful telnet I could spawn expect.

View 5 Replies View Related

Fedora Networking :: Cannot Connect To Windows Machine

Sep 23, 2009

I installed samba and samba-client (sudo yum install samba samba-client) but I still cannot connect to this Windows machine.I installed samba, started the samba services (although that may only by necessary to connect into Fedora?), and even restarted the computer and I still cannot do this, I have been googling like crazy and only se articles on how to make Fedora a samba server...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved