X
X
X
X

Knowledge Base

HomepageKnowledge BaseLinuxCpanelCpanel suspended acount - ...

Cpanel suspended acount - Warning: "/bin/false" is not listed in /etc/shells

Merhabalar,

Bilmiyorum basiniza hic geldimi , artik bir hesabi suspend ettikten sonra artik 2 defa kontrol etmeniz gerekecektir, Cpanel suspend edilen hesaplara shell veriyor :) ben bu sorunun bi ara saldirya ugradiktan sonra ortaya ciktigini sanmistim, fakat  google amcaya

Warning: "/bin/false" is not listed in /etc/shells

seklinde sorunca bu sorun la karsilasan ilk ben olmadigimi anladim,  panik yapamaya gerek yok, yapmamiz gereken sadece /script/suspendacct dosyasini nano ile acip

1-AcctLock::acctlock();
2-print "Changing Shell to /bin/false...";
3-system( "chsh", "-s", "/bin/false", "$user" );
4-print "Done\n";

3.satirdaki /bin/false yerine /usr/local/cpanel/bin/noshell

yazmamiz yeterli olacaktir ,

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(43469 times viewed / 0 people found it helpful)

Powered by WISECP
Top