* SUMMARY: Re: Howto to grant access to some users?
@ 1999-05-12 19:17 Hicham JAOUHARI
0 siblings, 0 replies; only message in thread
From: Hicham JAOUHARI @ 1999-05-12 19:17 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-12 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-12 19:17 SUMMARY: Re: Howto to grant access to some users? Hicham JAOUHARI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox