use the chsh (change shell) to change users shell access.
command as follows
# chsh -s
e.g.
#chsh -s /bin/bash foobar
where foobar is a valid user account.
you can see the list of shell types by typing
#cat /etc/shells
tags linux user shell access,
Prior to start, make sure that the server has been licensed to use fantastico.
ssh to your server and log in as root and do the following commands:
# cd /usr/local/cpanel/whostmgr/docroot/cgi
# wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz
# tar -xzpf fantastico_whm_admin.tgz
# rm -rf fantastico_whm_admin.tgz
Login to your WHM (if already logged in, just [...]
Stop Cpanel
% /etc/init.d/cpanel stop
Create the following files to disable CPanel’s Exim, POP, and IMAP services:
/etc/eximdisable
/etc/imapdisable
/etc/cpimapdisable
/etc/cppopdisable
/etc/popdisable
Afterwards, restart your Cpanel services:
% /etc/init.d/cpanel restart
Alternatively, you can turn them off in the CPanel interface in the Service Configuration panel.
tags cppop, [...]
To setup a static IP in debian edit the file:
/etc/networking/interfaces
# The loopback interface
auto lo
iface lo inet loopback
# The first network card – this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
[...]
for php 4:
apt-get install curl php4-curl libcurl3-dev
for php 5:
apt-get install curl php5-curl libcurl3-dev
root access required
Stop Service:
/etc/init.d/openbsd-inetd stop
Start Service:
/etc/init.d/openbsd-inetd stop
Re-Start Service:
/etc/init.d/openbsd-inetd restart
IF: File does not exist…
apt-get install telnetd
Then Re-start the service.
tags debian inetd, debian restart inetd, restart inetd debian, debian inetd restart, inetd [...]
I’ve migrating my accounts from a Windows 2003 server, using Mail Enable to handle emails and powered by helm control panel. Since most of the users requirements are mostly linux supported. i’ve migrated the server to a CentOS Server, and is running a Cpanel Control panel.
I’ve been scavenging all over the net for a [...]
Twitter Updates
- RT @JillianEdney: Life is like a ten speed bicycle, Most of us have gears we never use-Charles M. Schulz 1 week ago
- RT @JoyceMeyer:You may think that if someone else doesn't change, you can never be happy. But if you change, you can be happy no matter what 1 week ago
- @OhsiesDaliana sure ;) 3 weeks ago
- @Iris_Manuela thank you :) 3 weeks ago
- RT @rutansey33:There are 2 primary choices in life;to accept conditions as they exist,or accept d responsibility 4 changing them.D. Waitley 3 weeks ago
