Results 1 to 3 of 3

Thread: shell access?

  1. #1

    shell access?

    As some of you know I host Multi-User Dungeons (think text based RPG). Most of the folks I host have a couple of people that are "Coders/Builders" that may require access to the shell account for the hosted person.

    If I host a persons mud named jack
    how would I allow a person named Tim to access only that persons home dir yet maintain a seperate user name for tracking purposes?

    Hopefully that was clear enough but if not this is what I want.

    Host a single mud username jack with home dir
    allow Tim and John access to Jacks account without giving the password of Jack's account to them, and not have them have a home dir?

    Thanks
    Ras

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:shell access?

    Code:
    >  useradd jack -g jack -G users -d /home/jack
    >  passwd jack
       [some password only known to jack]
    > useradd john -g jack  -G users -d /home/jack
    > passwd john
       [some password only known to john]
    > useradd tim -g jack  -G users -d /home/jack
    > passwd tim
      [some password only known to tim]
    Since all users are within the jack group, as primary, they will be allowed to edit/delete eachother files, since they all are members of the users group, they are all allowed the normal user rights on the system, since they all have homedir in /home/jack, they all only demand jack's orriginal $HOME.

    -- edit --

    Forgot to add, that you can see on the owner of the files, who created it.

  3. #3

    Re:shell access?

    [quote author=redhead link=board=4;threadid=5996;start=0#57151 date=1041622718]
    Code:
    >  useradd jack -g jack -G users -d /home/jack
    >  passwd jack
       [some password only known to jack]
    > useradd john -g jack  -G users -d /home/jack
    > passwd john
       [some password only known to john]
    > useradd tim -g jack  -G users -d /home/jack
    > passwd tim
      [some password only known to tim]
    Since all users are within the jack group, as primary, they will be allowed to edit/delete eachother files, since they all are members of the users group, they are all allowed the normal user rights on the system, since they all have homedir in /home/jack, they all only demand jack's orriginal $HOME.

    -- edit --

    Forgot to add, that you can see on the owner of the files, who created it.
    [/quote]

    Thanks that was what I was looking for...

    Ras

Similar Threads

  1. SSH and restricted shell
    By elovkoff in forum Linux - General Topics
    Replies: 12
    Last Post: 04-02-2003, 03:40 PM
  2. PHP in shell
    By xin in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 07-22-2002, 08:20 PM
  3. How the Shell did I get to Thailand?
    By Rastar in forum General Chat
    Replies: 6
    Last Post: 06-07-2002, 02:14 PM
  4. national ISPs with unix shell access
    By atvar42 in forum General Chat
    Replies: 11
    Last Post: 02-07-2002, 04:20 AM
  5. My Dos shell
    By kenshi in forum Linux - Software, Applications & Programming
    Replies: 24
    Last Post: 11-29-2001, 11:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •