From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215695.tru64-unix-managers.marc@archive.invalid> From: Hicham JAOUHARI Date: Wed, 12 May 1999 19:17:14 +0000 To: tru64-unix-managers Subject: SUMMARY: Re: Howto to grant access to some users? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215695 Thanks to all of you who responded. There were 3 good suggestions: 1) /bin/false 2) using this program as shell: -------------------------------------------------------- #include /* 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