LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-28-2001, 08:45 AM   #1
memnoch
LQ Newbie
 
Registered: Jul 2001
Location: Germany
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Question temporary given user rights


hallo guys,

I've got one short question to you.

My task is to run a shell script with temporarily given user rights of the owner. Normally I thought of just setting the s-bit by chmod, but apparently this does not work as I thought it did.
I neither do have reading or writing access to any file apart from those where the rights have been set for other users.

Any ideas how to make them readable?
 
Old 08-29-2001, 03:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
You could use sudo to either user or, if access given, wheel group to perform actions.
Ofcourse this would be a hassle with 10+ users, plus sudo is strict on what to access.
Else you could (have admin) put a script into their crontab or in a system users one with sufficient access. Ofcourse the users' crontab would only run when they're in. A system users crontab would call for a separate user with access to /home/users or wherever them users is at and is IMO the best option, but maybe you could elaborate a bit on what you're tryin to do? Thatll clear things up on what's possible or not.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User rights question tantric Linux - Security 3 03-19-2004 11:16 AM
Managing user rights - how? Sastian Linux - Newbie 2 09-26-2003 12:33 PM
user rights transfer ahmetaa Linux - General 1 08-19-2003 01:39 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM
User rights rcoman Linux - Networking 2 04-21-2003 12:56 PM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration