Re: How do I create a locked down user account with only access to Ping?
From: Seth H Holmes (sholmes_at_dweezil.NOSPAMFORMEroute-fu.net)
Date: 05/23/03
- Next message: Seth H Holmes: "Re: my cdrom is acting up"
- Previous message: Joel Atkin: "Re: How to forward all e-mail from Solaris box to a ......."
- In reply to: Rob L: "How do I create a locked down user account with only access to Ping?"
- Next in thread: Rich Teer: "Re: How do I create a locked down user account with only access to Ping?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 23 May 2003 13:34:41 GMT
In article <bakpkp$k1t$1@newstree.wise.edt.ericsson.se>, Rob L wrote:
> I want to create a User Account that does something similar to the
> following:-
> 1) Allow the User to Telnet to the Solaris 8 machine.
> 2) The user cannot Change Directory (cd), i.e. they cannot move out of their
> home directory. Ideally they wouldn't have a home directory.
> 3) Be able to run one command, ping.
One way, and I'm sure other folks will give many reasons why it's not
so good or will just have better ways, would be to create your own
shell script that only allows a user to execute ping. Then make that
scipt the user default shell. When they log in, it will automatically
execute and when they log out, it ends. Oh yeah, make the script so
they can ping and can log out.
Under linux, to do such a thing, you also have to add the new script
to /etc/shells but I don't know what the equivalent in Solaris is.
I've used this to create FTP accounts on my linux box that can still
ssh in (telnet is shut off) but can only change their password.
-- Seth H Holmes
- Next message: Seth H Holmes: "Re: my cdrom is acting up"
- Previous message: Joel Atkin: "Re: How to forward all e-mail from Solaris box to a ......."
- In reply to: Rob L: "How do I create a locked down user account with only access to Ping?"
- Next in thread: Rich Teer: "Re: How do I create a locked down user account with only access to Ping?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|