- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- protecting the root account
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
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
05-13-2008 03:36 AM
05-13-2008 03:36 AM
protecting the root account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:38 AM
05-13-2008 03:38 AM
Re: protecting the root account
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:45 AM
05-13-2008 03:45 AM
Re: protecting the root account
You can if you wish disable remote login and require console only login.
http://groups.google.com/group/comp.unix.questions/browse_thread/thread/a9a13d004ff7bf28/1fe6e6401cd58e71
How far you go in this idea depends on how hard you want it to be for you to fix the system when it requires authorized work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:45 AM
05-13-2008 03:45 AM
Re: protecting the root account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:55 AM
05-13-2008 03:55 AM
Re: protecting the root account
more .rhosts
more /etc/hosts.equiv
# more .rhosts
data1 root
data1.domain root
data2 root
data2.domain root
data1 oracle
data2 oracle
data1# more /etc/hosts.equiv
data2 oracle
data2 root
data1 oracle
data1 root
u have to check the entries in .rhosts file and hosts.equiv file u have to check it
in order to part of security
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 04:01 AM
05-13-2008 04:01 AM
Re: protecting the root account
Create the securetty file like this:
print "console" > /etc/securetty
Now, no one can login as root unless they are using the system console.
Remove any .rhosts file in root's $HOME directory. Remove /etc/hosts.equiv if you are not using the 'r' commands (rlogin, rcp and remsh) or at least remove any root entry in that file.
The best way to remove root access is to change the root password every day to a random value. No one will know the root password and therefore must use two logins to get root access: one as an ordinary user and then use sudo to run single commands as root.
Also, turn off VUE or CDE so remote Xwindow desktop is not available. You can still use Xwindows but without the desktop feature.
Consider using only ssh rather than telnet and if not needed, turn off ftp (use scp instead).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 04:24 AM
05-13-2008 04:24 AM
Re: protecting the root account
You might try this to locate .rhost files...you may wish to run this when things are quiet, cause find takes up some resources.
find /
Rgrds,
Rita