HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SUDO rlogin issue
Operating System - HP-UX
1826333
Members
3531
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-26-2009 01:17 PM
01-26-2009 01:17 PM
SUDO rlogin issue
I have installed SUDO by downloading as an Internet express component [Ver 1.6.9p19]
Edited the /etc/sudoers file using visudo. Added the following line
username machine=/usr/bin/rlogin, /usr/sbin/dmesg, /usr/sbin/sam, /usr/sbin/swinstall, /sbin/ioscan,
I am able to run commands without password when logged in as the user.
$sudo dmesg -- Working
Issue: Unable to run command
$sudo rlogin machine -- not working
Command keeps prompting for password.
I removed the user and added it again, still does not help.
What else could be missing?
Edited the /etc/sudoers file using visudo. Added the following line
username machine=/usr/bin/rlogin, /usr/sbin/dmesg, /usr/sbin/sam, /usr/sbin/swinstall, /sbin/ioscan,
I am able to run commands without password when logged in as the user.
$sudo dmesg -- Working
Issue: Unable to run command
$sudo rlogin machine -- not working
Command keeps prompting for password.
I removed the user and added it again, still does not help.
What else could be missing?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 01:56 PM
01-26-2009 01:56 PM
Re: SUDO rlogin issue
>>$sudo rlogin machine -- not working
What password is it asking for?
Is it asking for the password on the local machine or the remote machine?
My guess is that it is asking for the password on the remote machine because you don't have /etc/hosts.equiv or ~/.rhosts set up properly for rlogin.
What password is it asking for?
Is it asking for the password on the local machine or the remote machine?
My guess is that it is asking for the password on the remote machine because you don't have /etc/hosts.equiv or ~/.rhosts set up properly for rlogin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 02:59 PM
01-26-2009 02:59 PM
Re: SUDO rlogin issue
I would suggest you not put rlogin in sudo. You should rlogin to the remote machine then use sudo.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP