Re: full networking for console user, limited networking for remotely logged in user

From: Joe Beanfish (joebeanfish_at_nospam.duh)
Date: 08/15/03


Date: Fri, 15 Aug 2003 14:28:56 -0400


/dev/rob0 wrote:
>
> [followup-to set]
> In article <ec37897e.0308140027.f27cdce@posting.google.com>, RJ41 wrote:
> > I need to setup a lab. such that the users logged on to console have
> > full access of lan and internet but, users remotely logging(via
> > telnet/ssh) into the lab servers would be allowed only to access lan(
>
> See the iptables "owner" match extension ("man iptables"). If you have a
> fixed list of authorised and unauthorised users, this will be easy:
> simply assign the remote users to a single group, and use -m owner to
> block that GID.
>
> I'm not sure how pid-owner and sid-owner work, but those might make it
> even easier, if they can exclude any process started under sshd or
> telnetd. Perhaps someone else will know?
>
> If users might alternate between console and remote logins, this would
> be more complicated and possibly weak. You could use the shell to set
> the effective GID when logging in. That of course opens up a lot of
> other shell issues.
>
> > I would use RedHat 9.0.
>
> Note that Red Hat by default puts all new user accounts in per-user
> unique groups. You might have to override this default (and change any
> accounts which already exist.)

Users may belong to more than one group.



Relevant Pages

  • Re: [opensuse] VNC on SLES 8
    ... Allowing remote logins via VNC. ... You can allow remote connection to the console. ... With this setup, you can connect to the actual console. ...
    (SuSE)
  • Re: [opensuse] VNC on SLES 8
    ... Allowing remote logins via VNC. ... You can allow remote connection to the console. ... want to use X on my PC, I need to VNC onto the server and work as if I ...
    (SuSE)
  • Re: cmdEX.exe - augmenting the existing CMD.EXE
    ... > It is different from replacement shells, like Take Command or WinOne, ... Replacing the very limited editing features of the existing console ... Not wanting to engineer another shell ... > console app that uses the ReadConsole kernel32 API has this ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Deleting Redundant Users
    ... As I said before that is not USER ACCOUNTS. ... > screen at windows logon. ... > access them from ActiveHTML configuration console that I have running. ... >> Instead of throwing abuse around, why don't you avail me of your wisdom. ...
    (microsoft.public.windowsxp.basics)
  • Re: Remote administration of a 2-node sun cluster running Solaris 5.8
    ... you trust to put a CD in the server. ... Some machine have RSC (Remote System Control) capability and others ... need to switch your console onto the RSC or ALOM controller. ... /etc/default/kbd and enable the alternate break sequence. ...
    (comp.unix.solaris)

Loading