Skip to main content
deleted 105 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0.

The problem is that once I block ssh access to user root by changing PermitRootLogin to no in sshd_config, all other users that share the 0:0 uid/gid also loose access via ssh to the box.

Help please...The box does not have internet access, or guide in right pathso, installing sudo/sudoer to achieving this..manage users it's not possible. the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0.

The problem is that once I block ssh access to user root by changing PermitRootLogin to no in sshd_config, all other users that share the 0:0 uid/gid also loose access via ssh to the box.

Help please..., or guide in right path to achieving this... the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible

I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0.

The problem is that once I block ssh access to user root by changing PermitRootLogin to no in sshd_config, all other users that share the 0:0 uid/gid also loose access via ssh to the box.

The box does not have internet access, so, installing sudo/sudoer to manage users it's not possible.

Added code formatting, paragraphs, linux tag
Source Link
 

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, change in /etc/passwd/etc/passwd/ I changed the other users' uid/gid to 0:00:0. But the

The problem is, that once I block ssh access to user root by changing in sshd_config the line PermitRootLogin yesPermitRootLogin to no... in sshd_config, all other users that share the 0:00:0 uid/gid also loose access via ssh to the box. Help

Help please..., or guide in right path to achieving this... ***the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible*** the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible

  
 

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, change in /etc/passwd the uid/gid to 0:0. But the problem is, that once I block ssh access to user root by changing in sshd_config the line PermitRootLogin yes to no..., all other users that share the 0:0 uid/gid also loose access via ssh to the box. Help please..., or guide in right path to achieving this... ***the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible***

 

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0.

The problem is that once I block ssh access to user root by changing PermitRootLogin to no in sshd_config, all other users that share the 0:0 uid/gid also loose access via ssh to the box.

Help please..., or guide in right path to achieving this... the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible

 
Source Link

login scenario and root ssh access block

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, change in /etc/passwd the uid/gid to 0:0. But the problem is, that once I block ssh access to user root by changing in sshd_config the line PermitRootLogin yes to no..., all other users that share the 0:0 uid/gid also loose access via ssh to the box. Help please..., or guide in right path to achieving this... ***the box does not have internet access, so, installing sudo/sudoer to manage users it's not possible***