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
Discussions
Discussions
Forums
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
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-29-2010 10:28 PM
тАО01-29-2010 10:28 PM
I want to make one my user use tar command for backup.How can I able to do that??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 01:55 AM
тАО01-30-2010 01:55 AM
Re: tar
you can give the access by sudo . install sudo on your system if not installed and than visudo
make the entry and save the file .
Than do su to that particular user and run sudo -l
it will show you that user has access to run tar command
Thats all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 02:02 AM
тАО01-30-2010 02:02 AM
Re: tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 02:13 AM
тАО01-30-2010 02:13 AM
Solutionhttp://www.icewalkers.com/Linux/Software/533590/Sudo.html
http://linux.softpedia.com/get/Programming/Widgets/Perl-Modules/Sudo-36009.shtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 02:33 AM
тАО01-30-2010 02:33 AM
Re: tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 03:01 AM
тАО01-30-2010 03:01 AM
Re: tar
username ALL=(ALL) NOPASSWD: tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 07:04 AM
тАО01-30-2010 07:04 AM
Re: tar
seems to me that allowing a non-root user to
run "tar" as root effectively gives that user
read and write access to any file on the
system. If you trust this user so much, then
why not give him the root password?
It might make more sense to write a script
which does some specific (limited) backup
task(s) using "tar", and then allow a
non-root user to run that _script_ as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 12:51 AM
тАО02-01-2010 12:51 AM
Re: tar
now, you can even configure it so that the user can only create tar packages of a system, and not expand, so reducing the risk of the user overwriting the whole FS etc.
sudo is the way to go. i'm an admin, and i don't even use the root account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 05:05 AM
тАО02-01-2010 05:05 AM
Re: tar
I didn't say that it was wise, only that
unrestricted "tar" use is not much different.
> now, you can even configure it [...]
I suggested one way to do that. What's your
suggestion?
> sudo is the way to go. [...]
It's certainly one useful method, when used
properly. When used improperly, its benefits
may be greatly reduced.