07-21-2008
Unix Account
What is the command if i want to view the script of the user being executed.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i purchased a unix shell account and got myself into a bit of trouble with my providers heh
i got 3 automated emails telling me i had 3 background processes running, and my limit is two, which i knew.
after a couple of emails between myself and a human being, he suggested i look up... (2 Replies)
Discussion started by: turf
2 Replies
2. UNIX for Dummies Questions & Answers
i just want to know if there is any place that i can purchase a unix account to use for life. i don't like the hassle of changing my email address every time i enter a new university/workplace, and i'd like some place to store files that i can access around the world. thanks! (2 Replies)
Discussion started by: 1515
2 Replies
3. UNIX for Dummies Questions & Answers
I have a simple question.
i have an e-mail account with an ISP on a Solaris box. I want to forward all the mail that comes to "only" me to another POP3 account. I used to have the commands written down on how to forward all but I have lost them. Is there a way to forward only e-mails that... (2 Replies)
Discussion started by: jsillers
2 Replies
4. UNIX for Dummies Questions & Answers
How can i create an account on my UNIX-server?
1. The files, can't be deleted by that person. (or better: he can only delete his own upped files, or can delete files, but can't see mine)
2. He can upload files.
3. I can delete and see everything.
Hope you guys can help me.
B.T.W. nice... (1 Reply)
Discussion started by: SEC
1 Replies
5. UNIX for Dummies Questions & Answers
I am very new to Unix. We have a Unix user account that was disabled due to multiple tries with an invalid password. How to enable the account? (1 Reply)
Discussion started by: kajap
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Please could some advise how to create a unix account, from the root account.
thanks you (2 Replies)
Discussion started by: venhart
2 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
Can someone point me in the direction of the "close account" or "delete account" page, as i no longer want my account.
I have sent 2 messages to the webmaster who has just ignored my message, and there is no advice in the faq and googling brings no answer.
I want to remove my account... (1 Reply)
Discussion started by: Fanny Zoddar
1 Replies
LEARN ABOUT DEBIAN
setuid
SETUID(1) General Commands Manual SETUID(1)
NAME
setuid - run a command with a different uid.
SYNOPSIS
setuid username|uid command [ args ]
DESCRIPTION
Setuid changes user id, then executes the specified command. Unlike some versions of su(1), this program doesn't ever ask for a password
when executed with effective uid=root. This program doesn't change the environment; it only changes the uid and then uses execvp() to find
the command in the path, and execute it. (If the command is a script, execvp() passes the command name to /bin/sh for processing.)
For example,
setuid some_user $SHELL
can be used to start a shell running as another user.
Setuid is useful inside scripts that are being run by a setuid-root user -- such as a script invoked with super, so that the script can
execute some commands using the uid of the original user, instead of root. This allows unsafe commands (such as editors and pagers) to be
used in a non-root mode inside a super script. For example, an operator with permission to modify a certain protected_file could use a
super command that simply does:
cp protected_file temp_file
setuid $ORIG_USER ${EDITOR:-/bin/vi} temp_file
cp temp_file protected_file
(Note: don't use this example directly. If the temp_file can somehow be replaced by another user, as might be the case if it's kept in a
temporary directory, there will be a race condition in the time between editing the temporary file and copying it back to the protected
file.)
AUTHOR
Will Deich
local SETUID(1)