The post Change Linux Root Password Temporarily first appeared on Web Hosting Stuff.
]]>If you are logged in as root and you don’t know the root password then you can follow the steps. You can easy to change your root password.
Step 1. Back-up your current shadow file.
[root@hostripples ~]# cp /etc/shadow /etc/shadowbkup
Step 2. Change the current root password
[root@hostripples ~]# passwd root
Changing password for user root.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
Step 3. Switch to a local user to test whether ‘your’ root password is working or not.
[root@hostripples ~]# su – localuser
[localuser@hostripples ~]$ su – root
Password:
[root@hostripples ~]#
Yes, you are now logged in as root with ‘your’ password.
Step 4. Restore the previous root password
[root@hostripples ~]# mv /etc/shadowbkup /etc/shadow
mv: overwrite `/etc/shadow’? y
[root@hostripples ~]#
.
.
.
.
This trick is meant for students and kindly do not misuse.
The post Change Linux Root Password Temporarily first appeared on Web Hosting Stuff.
]]>The post How To Create FTP Accounts In cPanel first appeared on Web Hosting Stuff.
]]>All account can use the cPanel username and password for FTP, but additional FTP Accounts can be created and removed from your cPanel at any time. To add new FTP accounts,
Follow these process:
1) Log into cPanel
2) In the Files section, and click on FTP accounts
3) In the Login field, type the name of the FTP user.
Note: You cannot create an FTP username without your primary domain name in it, so your FTP username will always look like this – username@primarydomain.tld
4) In the Password fields, enter a password which will be used to authenticate this FTP account. Make sure you write the password down somewhere
5) In “Directory:” field you must enter the directory access you want this FTP account to have. You can leave it blank, which means this FTP account will have access to ALL web sites located on your server
6) Quota is the maximum amount of bandwidth you want this FTP account to use
7) Click on “Create FTP Account” button
You will then see a message stating “Account Created“
The post How To Create FTP Accounts In cPanel first appeared on Web Hosting Stuff.
]]>