System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Root login disabled need to login through other admin user.

jeevarajkn
Frequent Advisor

Root login disabled need to login through other admin user.

Hi All

Server-HPUX 11.23

Requirement- we have two user with UID 0, we have disabled root login through ssh in sshd_config file. Now my requirement is to login through other user which have UID 0 in ssh, is it possible in normal cases where am using "putty" as my tool.

help required to sort it out.

Thanks

Jeev.
7 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: Root login disabled need to login through other admin user.

hi,

you could use GSP/MP console to acces the system, and them you could enable it again.


mikap
jeevarajkn
Frequent Advisor

Re: Root login disabled need to login through other admin user.

Hi Michal,

I think its confusing :) my requirement is I want to keep root login permanenatly disable state and want to login through other admin user which have UID0 for normal operation.
Michal Kapalka (mikap)
Honored Contributor

Re: Root login disabled need to login through other admin user.

ok so if you have a regular normal user, they can logoon to the server,

use su - or install sudo and manage the server with him.

mikap
jeevarajkn
Frequent Advisor

Re: Root login disabled need to login through other admin user.

Thanks Michel,Both suggestions are working fine, but I don't want to enable SUDO..because of some security reason ..is it any other way is there which can help us.
Michal Kapalka (mikap)
Honored Contributor

Re: Root login disabled need to login through other admin user.

i think only the su - is the last one.

or maybe some restricted user or shell.


mikap
jeevarajkn
Frequent Advisor

Re: Root login disabled need to login through other admin user.

Thanks to all issue has been resolved.

Edit /opt/ssh/etc/ sshd_config file and give following entries.

#PermitRootLogin Yes
AllowUsers paradmin, uxgsmc etcâ ¦
DenyUsers root

Restart the sshd daemon
# /sbin/init.d/secsh stop

# /sbin/init.d/secsh start
jeevarajkn
Frequent Advisor

Re: Root login disabled need to login through other admin user.

Closing the thread.