[centOS4] Basic help is needed please.
Hello everyone,
I have recently purchased a VPS account which comes preinstalled with CentOS4 x86_64. I'm having some problems, and I hope someone could help me out. First of all, YUM is not installed. How do I uninstall programs that came with the OS? Like I want to remove httpd, but whenever I use this: rpm -e httpd I get this error: Quote:
Second, I'm currently logging in with the root account. I tried to make another user, it worked but I get access denied each time I try to login with it. What's wrong with that? Also, when I write users, only root gets printed. I used the adduser command. Finally, do you know any good documentations for CentOS4? I tried the docs that are available on their site, but they were for RedHat with GUIs and stuff, I can't use that. I need some tutorials for the command line. Thanks in advance for everyone. I hope I was clear enough for what I need. I still have A LOT of questions ;p. |
Quote:
This will give you the exact name of http rpm that you can use with "#rpm -e" To get rid of dependency errors use: #rpm -e --nodeps <http rpm> Quote:
Quote:
|
paragkalra, thank you for your reply. The RPM command worked perfectly, thanks a lot.
The problem with the new user that I have added is that I'm not being able to use it via SSH (That's how I log in to my VPS account). I enter the username, and when it asks for the password, I get Access Denied. Is there anything that I should do to like "enable" this account or something? I have used this command: adduser username -p password. Anything else I should do? |
In CentOS, you are probably better using
yum remove package |
for the cmd line generally: http://rute.2038bug.com/index.html.gz
From the man page for adduser: -p, --password password Encrypted password as returned by crypt(3) for the new account. The default is to disable the account. note the requirement for an encrypted password value, not plaintext. Did you do that? If not, the easiest thing to do is (as root) passwd username and then supply a plaintext passwd when it prompts you. |
Thanks for everyone. The user account worked when I used passwd username as Chrism01 suggested :). Thanks a lot.
|
Y, I don't know why adduser/useradd insists on an encrypted passwd, it's a pain to get one.
The other option is MUCH easier. |
All times are GMT -5. The time now is 05:57 PM. |