Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am able to telnet to my linux box.
i created a user who is able to login through telnet.
then when i login i do the su command to swith to root.
and when i am logged in as root i still can't do commands like useradd.
I would like to able to this commands plus changing the iptables through telnet.
Does anyone know how to configure so that i can do that ?
nowadays telnet should realy not be even an option for remote management, its unencrypted data loose on the net. VNC is ok if you need a GUI, but SSH is the serious thing nowadays with decent encryption.
Now, the actual question.. You explain it a tad blurrily. What do you mean you cant do those commands? As in "command not found" or as in "only root can do this" or something else? If its a "command not found", you should check out your .bash_profile .profile and /etc/profile to ensure $PATH is set to include /sbin/ and /usr/sbin/ for the root user, even when logging in remotely.
yes now i could use useradd and such.
but now i have another problem i shutoff the linux and apparently i can't telnet to my linux box anymore.
i looked in the telnet file in the xinetd.d directory and it still says disable = no . so that can't be it.
even hosts.allow says ALL:ALL so that right i think.
even restarted the xinetd service but doesn't solve the problem.
does anyone know why it worked yesterday and today nomore ?
but now i have another problem i shutoff the linux
So you shut off the linux box throw telnet and now you can't access it? If that's the case, you won't be able to access it because it's turned off (obviously) so you need to know whether your motherboard supports Wake-On-LAN or something similar to start it up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.