what restrict telnet for root itself but allow for other user
Answers were Sorted based on User's Feedback
Answer / d.jagankumar
vi /etc/pam.d/login
auth required pam_securetty.so== 1st line
should be placed as required.if we change the option as
sufficient instead of required telnet can login as "root".
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / raju
Root can login through telnet session, but by default it is
disabled. You can enable by appending /etc/securetty file
open /etc/securetty using vi
#vi /etc/securetty
pts/0
pts/1
don't remove anything from this /etc/securetty , just
append your entr
Is This Answer Correct ? | 6 Yes | 3 No |
How to sort a file of size 2N bytes, if I have N bytes of memory?
Where is standard output usually directed?
In Linux(RHEL) server have two users with same name. one is local user and second one is NIS user. if you login the server which user will login (local or NIS)
what are the steps for Password-less ssh
What is the difference between semaphore and spinlock?
What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?
As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.
What is the difference between an argument and an option/switch?
What file should you examine to determine the defined runlevels for your system?
1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?
what is the difference between unix and linux...
what is the gate of ftp server in redhat linux?