LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do i use my shell? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-use-my-shell-305088/)

einstien 03-23-2005 10:15 AM

how do i use my shell?
 
hallo all

i wanted to know how do i use my shell on my linux (fc3) in a way that my friends which have windows can log in into my computer like it was a server

with premmisons and every thing....

can someone explain it to me? or give me a tutorial?

please help

winsnomore 03-23-2005 10:28 AM

Easies to do would be run telnet server.

With your linux machine as server, windows machines can log in and run command line programs.

Depending upon your security issues, you may want to explore more about secure shell .. but if it's just local with trusted folks, running plain telnet would be fine.

Crashed_Again 03-23-2005 10:28 AM

You want to allow shell access from a windows machine? You need to have the sshd server running:

# chkconfig sshd on
# /etc/init.d/sshd start

Then download putty onto your windows machine to login to the linux machine.

einstien 03-23-2005 11:57 AM

ok but after i run telnet.. which i have no idea how to do
where do i make the configurantio of the users so my friends can log in?

please a tutorial will help me a lot

Crashed_Again 03-23-2005 12:56 PM

Forget telnet. Its extremly insecure.

You have to give local accounts to whoever you want to be able to login. If you want 'fred' to be able to login create his account by doing the following as root:

# useradd fred

I'm pretty sure Fedora is setup with all the useradd bells and whistles so you probably won't have to use all the available switches.(Somebody correct me here if I'm wrong)

Then set freds passwd:

# passwd fred

Type in his new password twice. Then add the sshd daemon to startup:

# chkconfig sshd on

and start the service:

# /etc/init.d/sshd start

Then, assuming you don't have a firewall running, fred will be able to login to your machine using putty.

einstien 03-24-2005 02:42 AM

ok thanks that helpd me a lot...
but say how do i erase a user?

whats the command?

otchie1 03-24-2005 04:00 AM

Maybe I'm a little cynical but i think you only need to follow these three steps...

1.Whine at your mom to drive you to the Mall
2.Buy 'Running linux' from O'Reilly
3.Read it.

As a taster try http://www.martian-tech.com/commands.html and scroll down to userdel.

another good comand to try out would be
Code:

man userdel
Before you go rebooting your box 'cos you can't escape from the manual...PRESS Q to quit

What exactly is it that you want your windows friends to achieve on your linux box? File sharing is probably best done with SAMBA. Remote desktop sharing is likely to be either VNC or RDesktop.
How are they connecting to your box? Have you got a network or are you trying tor route across the net?


All times are GMT -5. The time now is 09:57 AM.