Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grant access right of ufsdump to user

Status
Not open for further replies.

annli

Programmer
Dec 5, 2000
1
HK
Hi all,

I would like to know how I could grant access right of ufsdump to user for dumping files to tape. Could anyone help? Thanks.

 
You can use sudo or another suid-root wrapper. Search the binaries in your favorite search engine. Install it.
with `/usr/local/bin/visudo` you can modify your sudoers file, located in /etc/sudoers.
A line for user X would be somthing like
X ALL=<name_of_prog_to_run> ALL
if your special user is fully trusted and you care about security policies you might allow him everything what root can by typing
X ALL=(root) ALL
now he can execute everything as root. (bad idea!)
your user X starts a sudo-command via `sudo command` and is prompted for his password.

Thats a quick primer - hope it'll help you! regards
chenn
 
umm ... you can use ufsdump as any user, just not dump files that that user can't normally access ...

if a user needs to dump more than this, surely they either need access to the file system, or they ask admin ?

if they can't access the file system, what is the point in letting them back it up?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top