Networking Forums

Networking Forums > Computer Networking > Linux Networking > Basic multi-user question

Reply
Thread Tools Display Modes

Basic multi-user question

 
 
Al C.
Guest
Posts: n/a

 
      07-27-2004, 05:57 AM
My computer runs Linux. Wife's computer runs Linux. We both run Slackware 9.1/
KDE 3.1 We are connected via a router to share the DSL line. I'm
198.168.0.101 and she is ..... .102.

On my machine I set up a user for her called 'wife' and a password of 'abcxyz'

Assuming I put her at a login prompt on her machine, how can she login to my
computer as "wife" ? Or is this not possible.

Al

 
Reply With Quote
 
 
 
 
Stefan Viljoen
Guest
Posts: n/a

 
      07-27-2004, 06:09 AM
Al C. wrote:

> My computer runs Linux. Wife's computer runs Linux. We both run Slackware
> 9.1/ KDE 3.1 We are connected via a router to share the DSL line. I'm
> 198.168.0.101 and she is ..... .102.
>
> On my machine I set up a user for her called 'wife' and a password of
> 'abcxyz'
>
> Assuming I put her at a login prompt on her machine, how can she login to
> my computer as "wife" ? Or is this not possible.
>
> Al


Have her do this on her system:

telnet 198.168.0.101

she should get a logon prompt on her machine asking for her username (wife)
and her password (abcxyz). Once she has logged in she will be "on" you
machine just as if she was physically sitting in front of your machine.

Note that this is dependant on you having the telnet and xinetd services
active (at least on RedHat 9 these are required to be able to make a telnet
connection to my RedHat 9 machine from my Windows machine).

--
---
Stefan Viljoen
Software Support Technician
Polar Design Solutions
 
Reply With Quote
 
Hactar
Guest
Posts: n/a

 
      07-27-2004, 06:12 AM
In article <(E-Mail Removed)>,
Al C. <(E-Mail Removed)> wrote:
> My computer runs Linux. Wife's computer runs Linux. We both run Slackware 9.1/
> KDE 3.1 We are connected via a router to share the DSL line. I'm
> 198.168.0.101 and she is ..... .102.
>
> On my machine I set up a user for her called 'wife' and a password of 'abcxyz'
>
> Assuming I put her at a login prompt on her machine, how can she login to my
> computer as "wife" ? Or is this not possible.


ssh -l wife yourmachine
wife@yourmachine's password: ******
[wife@yourmachine wife]

Did you mean something different? I don't see how the presence of any
account on her machine stops her from logging into your machine.

--
-eben (E-Mail Removed)m home.tampabay.rr.com/hactar
GEMINI: Your birthday party will be ruined once again by your explosive
flatulence. Your love life will run into trouble when your fiancee hurls a
javelin through your chest. -- Weird Al, _Your Horoscope for Today_
 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      07-27-2004, 06:15 AM
Stefan Viljoen wrote:
> Al C. wrote:
>
>>My computer runs Linux. Wife's computer runs Linux. We both run Slackware
>>9.1/ KDE 3.1 We are connected via a router to share the DSL line. I'm
>>198.168.0.101 and she is ..... .102.
>>
>>On my machine I set up a user for her called 'wife' and a password of
>>'abcxyz'
>>
>>Assuming I put her at a login prompt on her machine, how can she login to
>>my computer as "wife" ? Or is this not possible.

>
>
> Have her do this on her system:
>
> telnet 198.168.0.101
>
> [snip]


.... or ssh. Between two computers on a home network, it probably makes
little difference, but it's better to avoid nasty habits (telnet) IMHO.
sshd doesn't need inetd/xinetd, either.
 
Reply With Quote
 
David Dorward
Guest
Posts: n/a

 
      07-27-2004, 06:52 AM
Al C. wrote:

> Assuming I put her at a login prompt on her machine, how can she login to
> my computer as "wife" ?


Which login prompt?

The usual non-X login can't do this. She would have to login to her machine
and then run a remote shell tool (like ssh or telnet[1]) to connect to your
machine.

The more complex graphical login systems on the other hand (GDM and KDM) do,
if I remember correctly, have the facility to perform remote logins. I
can't remember the specifics and gdmXnest isn't playing nice right now so I
can't test it.

[1] Well, not so much like telnet - no encryption.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Al C.
Guest
Posts: n/a

 
      07-27-2004, 07:19 AM
David Dorward wrote:

> Al C. wrote:
>
>> Assuming I put her at a login prompt on her machine, how can she login to
>> my computer as "wife" ?

>
> Which login prompt?
>


The non-X login you get at boot time if you are not using X. I'd bring her
down to run level 2 or 3 (I know that 4 is X and I don't want that.)

> The usual non-X login can't do this. She would have to login to her machine
> and then run a remote shell tool (like ssh or telnet[1]) to connect to your
> machine.
>


OK. That makes sense. I assumed that because we were on a directly connected
network that she could access the 'wife' account on my machine without having
to first log into her own machine.

So she would ssh into my machine the same way I ssh into my web server
machine. Makes sense. Of course, I'll need to turn on the ssh service. In my
initd.conf I see a telent service, but not an ssh. Do they both use the same
protocol or do I have to add an ssh server to my machine?

I was trying to use her machine as a dumb terminal to my machine but I guess
it does not work that way on a LAN. Out of curiousity, how would you set up a
dumb terminal? What would it plug into on my machine? Or are those days dead
and gone?

Al

 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      07-27-2004, 08:11 AM
Al C. wrote:
>
> [snip]
>
> So she would ssh into my machine the same way I ssh into my web server
> machine. Makes sense. Of course, I'll need to turn on the ssh service. In my
> initd.conf I see a telent service, but not an ssh. Do they both use the same
> protocol or do I have to add an ssh server to my machine?


ssh and telnet are different. You'd have to install sshd on your
machine and ssh on hers.

> I was trying to use her machine as a dumb terminal to my machine but I guess
> it does not work that way on a LAN. Out of curiousity, how would you set up a
> dumb terminal? What would it plug into on my machine? Or are those days dead
> and gone?


You could plug the serial port on her machine into the serial port on
your machine using a null modem cable. Run a tty on your machine
connected to the serial port. Run a serial client on her machine
(minicom or kermit for Linux, HyperTerminal or kermit for Windows,
etc.). Even if you're in X, her machine is just a "dumb" terminal, or
as dumb as the terminal emulation program gets, anyway. She'd get
exactly what you get when you ctrl-alt-F1 from X, for example, except
she could never ctrl-alt-F9 (or however you're set up) to get X.

There are HOWTOs out there for this kind of setup, although I've never
used them.
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      07-27-2004, 11:56 AM
Al C. wrote:

> My computer runs Linux. Wife's computer runs Linux. We both run Slackware
> 9.1/ KDE 3.1 We are connected via a router to share the DSL line. I'm
> 198.168.0.101 and she is ..... .102.
>
> On my machine I set up a user for her called 'wife' and a password of
> 'abcxyz'
>
> Assuming I put her at a login prompt on her machine, how can she login to
> my computer as "wife" ? Or is this not possible.


It should be, but the details depend on what she's trying to do. For
example she should be able to access file shares or connect using ssh or...


--

(This space intentionally left blank)
 
Reply With Quote
 
Peter O
Guest
Posts: n/a

 
      07-27-2004, 01:33 PM
"Al C." <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> My computer runs Linux. Wife's computer runs Linux. We both run Slackware 9.1/
> KDE 3.1 We are connected via a router to share the DSL line. I'm
> 198.168.0.101 and she is ..... .102.
>
> On my machine I set up a user for her called 'wife' and a password of 'abcxyz'
>
> Assuming I put her at a login prompt on her machine, how can she login to my
> computer as "wife" ? Or is this not possible.
>
> Al


Hi,

if you want your wife to run GUI programs at your machine, you have
two options: to set KGM/GDM/etc. to allow remote logins and set your
wife's computer to login remotely (how - depends on the Linux distro
you are using), or (better, more secure) if you want her just to run
one or two applications, let her use 'ssh X11 forwarding'. She should
login to your computer with 'ssh -X 198...', and then just type the
name of the GUI program she wants to run. The program will run on your
computer, but the window will be in her X session.

Cheers,

Peter O

www.dialore.com
 
Reply With Quote
 
Al C.
Guest
Posts: n/a

 
      07-27-2004, 04:21 PM
Peter O wrote:

>
> if you want your wife to run GUI programs at your machine, you have
> two options:**to*set*KGM/GDM/etc.*to*allow*remote*logins*and*set*your
> wife's computer to login remotely (how - depends on the Linux distro
> you are using), or (better, more secure) if you want her just to run
> one or two applications, let her use 'ssh X11 forwarding'. She should
> login to your computer with 'ssh -X 198...', and then just type the
> name of the GUI program she wants to run. The program will run on your
> computer, but the window will be in her X session.
>


Thanks for all the help. I will give this a try and report back.

Al

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DG814 - multi-user? Yvonne Broadband 5 09-14-2006 06:25 PM
searching LAN chat tools supporting multi-user apple.davinci@gmail.com Linux Networking 2 03-09-2006 12:23 PM
DrayTek Vigor 2600 Multi-Nat/DMZ/VLAN Question Lee Network Routers 1 11-30-2005 09:58 AM
NAT & multi-subnet private network question =?Utf-8?B?RXdhbg==?= Windows Networking 3 01-16-2005 10:48 PM
Single/Multi User Broadband? Barry Higginbottom Broadband 17 02-16-2004 12:13 PM



1 2 3 4 5 6 7 8 9 10 11