tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Hicham JAOUHARI <h.jaouhari () digitem ! net ! ma>
To: tru64-unix-managers
Subject: SUMMARY: Re: Howto to grant access to some users?
Date: Wed, 12 May 1999 19:17:14 +0000	[thread overview]
Message-ID: <96079042215695.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to all of you who responded.

There were 3 good suggestions:
1) /bin/false
2) using this program as shell:
--------------------------------------------------------
#include <unistd.h>
/* false_shell.c */
/* print a message and kicks the user out */
void main (void) {

  printf("\n\nYou do not have access to this machine.\n\n");
  sleep (5);     /* let them read message for 5 seconds */

  return;        /* exit program */
}
--------------------------------------------------------
3)using an utility called tcp wrappers.

for the 1 & 2 i have to execute: mkpasswd /etc/passwd

my original message was:
> From: Hicham JAOUHARI [SMTP:h.jaouhari@digitem.net.ma]
> Sent: Wednesday, May 12, 1999 3:47 AM
> To:   tru64-unix-managers@ornl.gov
> Subject:      Howto to grant access to some users?
>
> Hi managers,
>     i'd like to grant telnet and rlogin access to just 4 users
in my
> tru64 machine (4.0d), what i did is delete shell to the others
users
> from passwd.
>     but when i try: users without shell can access to my
machine!!!!,
> have i forgot something or there are others way to proceed?
>
>     thanks.
>
> Regards,
> Hicham JAOUHARI

                 reply	other threads:[~1999-05-12 19:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox