- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- how to get the sudo file back.
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
how to get the sudo file back.
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2011 08:34 AM
02-05-2011 08:34 AM
how to get the sudo file back.
how to get the sudo file back.
Unfotunetely /usr/local/bin/sudo ,sudoedit permissions has changed. Due to this we are unable to get the "sudo" permissions. we have the 3 weeks o/s tape backup. we are tried to restore the file, same location. but it throughing the error "permissions denied".
I request to all , please give the solution , regarding this issue.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2011 08:42 AM
02-05-2011 08:42 AM
Re: how to get the sudo file back.
Re: how to get the sudo file back.
If you restore it off of the tape as root, that should have fixed it.
Unless you use pax(1) without -p e, that refuses to restore those bits.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2011 09:41 AM
02-05-2011 09:41 AM
Re: how to get the sudo file back.
Re: how to get the sudo file back.
we restore at first time it is overwrite the same location. instated of sudo file it is usr(directort)inside local (directory) inside sudo file is prasented. This permissions also 777. And it is prasented in the binary format.we are able to see through strings sudo the out put is showing in zeros only.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2011 09:52 AM
02-05-2011 09:52 AM
Re: how to get the sudo file back.
Re: how to get the sudo file back.
This is NOT good enough. They should not be writable at all and they need to have the SUID bit set:
chmod a-w,u+s
What tool(s) are you using to backup and restore?
What does this show:
ll -d /usr /usr/local /usr/local/bin /usr/local/bin/sudo /usr/local/bin/sudoedit
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP