- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- providing specific privilages to the user's
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2011 11:01 PM
01-15-2011 11:01 PM
providing specific privilages to the user's
I need to provide SSH access for the user called naraguna, and telnet access for some 3 to 4 users and need to deny direct root login either by SSH and telnet..
Please help me to get this clear..
Thanks in advance!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2011 01:48 AM
01-16-2011 01:48 AM
Re: providing specific privilages to the user's
If you want to block root access via SSH overall, you should set
PermitRootLogin No
in your sshd_config file.
in your sshd_config file. The location of this file varies depending on your installation of SSH. This will disallow direct SSH to the server as the root user
/sbin/init.d/sshd stop
/sbin/init.d/sshd start
let me know if it works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2011 02:43 AM
01-16-2011 02:43 AM
Re: providing specific privilages to the user's
For telnet as per my understanding you can't put restritions for particular user, But you can do it on host or network level by customising /var/inetd.sec.
Customize the /var/adm/inetd.sec file to selectively allow or deny telnet access to various hosts on the network.
Telnet allow 128.1.*.* 128.2.1-8.* host1 host2 host3 host4
After editing this file issue
inetd -c command
Continually monitor the syslog and /var/adm/btmp file for failed telnet login attemps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2011 10:56 PM
01-16-2011 10:56 PM
Re: providing specific privilages to the user's
So is there any possible way to provide the SSH access for a specific user and disable telnet for a specific user.
From the above reply i got the things clear and it works also.
please try to help on this question too.. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2011 11:16 PM
01-16-2011 11:16 PM
Re: providing specific privilages to the user's
You do this by adding a line like this to /opt/ssh/etc/sshd_config
AllowUsers user1 user2
Restart sshd after making this change (you can even do that if you are currently logged in over ssh). Only those users will be allowd ssh access.
also refer the man pages of sshd_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2011 02:53 AM
01-17-2011 02:53 AM