usertty a spol.

Jan Kasprzak kas na informatics.muni.cz
Pátek Leden 30 17:19:44 CET 1998


Matus Hrusovsky pise:
: 
: Ako funguje subor /etc/usertty.
: Podla inf. by mal po nastaveni
: user /dev/null
: pre uzivatela 'user' zakazat telnet a opd. a povolit len ftp pristup.
: To sa mi ale nedari - da sa to dako inak ??
: Teda potrebujem pre uzivatela len ftp pristup.
: 
: P.S. RH 4.2
: 
	Pokud RH4.2, pak tohle lze udelat pres PAM
- do souboru v /etc/pam.d krome /etc/pam.d/ftp dat tohle:

auth       required     /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftponly.users onerr=succeed

	Totez lze delat pomci pam_group.so.

	Ale jinak staci prislusnym uzivatelum dat jako shell /dev/null
a pridat /dev/null do /etc/shells.

-Yenya

--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
|| I find that the algol60 interpreter, teco and jclsh (ibm JCL emulator  ||
|| shell) are very good for teaching people that computing has moved on.  ||
||                           -- Alan Cox in redhat-devel                  ||



Další informace o konferenci Linux