Search found 14 matches

by prince_mallow
2010/06/10 16:15:30
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

Ok so I installed Sun's Virtual Box and also installed Centos 4.8 Server

I did all the steps I did before and I was able to log in successfully and issue a sudo command
by prince_mallow
2010/06/04 15:25:17
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

I emailed our VPS provider asking him about it and he directed me to a module within the WHM of our server called "Manage Shell Access" Here it list all the users that were created using the WHM but none of the ones that I created from the shell. There are three options to set Normal Shell, Jailed S...
by prince_mallow
2010/06/03 21:40:48
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

Thank you for helping I think my problem may lie here:
https://bugzilla.redhat.com/show_bug.cgi?id=519017
by prince_mallow
2010/06/03 20:21:14
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

Modified /etc/ssh/sshd_config

added to Allow users the userx

This allowed me to log in via ssh as userx via

ssh userx@server

but sudo root returns the same
sorry, try again
3 incorrect password attempts
by prince_mallow
2010/06/03 19:27:12
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

Well this is weird

root@server [~]# ssh userx@server
Password:
Password:
Password:
userx@server's password:
Permission denied, please try again.
userx@server's password:
Received disconnect from xx.xxx.xxx.xxx: 2: Too many authentication failures for userx


What does this mean?
by prince_mallow
2010/06/03 19:01:19
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

Oh sorry I didn't see those links before Alas I do not have a real Centos uname -r 2.6.18-028stab064.7 If your kernel version looks likes this 2.6.18-92.1.13.el5.028stab059.6 you have custom-made kernel, usually from a virtualization project. This is not a standard CentOS kernel, so you are not runn...
by prince_mallow
2010/06/03 14:06:42
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

is this the best way to make a new user?

1. ssh to your server as root
2. Create a user: /usr/sbin/useradd user
3. Expire ther user immediately: /usr/bin/chage -d 0 user
4. Set blank password: /usr/sbin/usermod -p "" user
5. If you want to set the user's password:

* su user
* passwd
by prince_mallow
2010/06/03 13:53:38
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

pschaff wrote: So, did you verify that you can log in as a user, with the password set, using the password, on one of the securetty devices? Can you then, without changing anything else, use sudo? It would be best to get things working first, before all the security changes, then make incremental c...
by prince_mallow
2010/06/02 21:25:06
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

If it helps I created the user doing this: 1. ssh to your server as root 2. Create a user: /usr/sbin/useradd user 3. Expire ther user immediately: /usr/bin/chage -d 0 user 4. Set blank password: /usr/sbin/usermod -p "" user 5. If you want to set the user's password: * su user * passwd and I changed ...
by prince_mallow
2010/06/02 21:22:55
Forum: CentOS 4 - Server Support
Topic: Unable to sudo
Replies: 25
Views: 9472

Re: Unable to sudo

I'm sorry I don't understand?

I reenabled the password authentication to try what you suggested and then did sudo and I got the same

sudo cd /root/
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts

Go to advanced search