Hi All,
I am new to shell scripting....
Can someone give an example of running shellscript via sudo user...
I tried like this....
sudo /usr/local/sbin/deploy | ./tmp/cp1.sh
the above script is executed as a normal user not as the sudo user...
Any help is apprciated,...
With Regards,
Ramesh.T
...
I have set up a function which returns an enum of the button that the user clicked in the ModalPopup. I have a variable of type enum to store which button the user clicks in the button click event. In this function, I call the ModalPopupExtender's Show() method.
My problem is, the function finishes out and returns the default enum (wh...
Consider a simple web application that accepts user logins. Each user can have a profile (read-only, normal, administrator etc) and each profile dictates the user’s rights (he can only look at data, he can modify data but only if it is its own, he can do everything if he is an administrator etc).
Only an administrator can create other u...
Hello, I have a MySQL database that has several databases used by more than 1 web app.
I need to now create a new Database that can only be accessed via a new user account. I've been using Navicat v5.3.3 manage users to try to set this up but it doesn't seem to work and I don't know if that's bec of MySQL or Navicat.
But given that I ...
Hi all!
Is there a plugin that returns to a wordpress registered user the last pages that he has seen on a blog?
Thanks in advance, Joe
...
Hi I am just curious to know whether different users can have same user ID in MOSS 2007.
I have two SharePoint groups with different set of permission levels. SharePointGroup1 is in root site. The subsite has unique permissions, i.e., it is having SharePointGroup2 with different set of users.
Is there any chance to have same user ID for...
I'm trying to create a Rails form that allows an admin user to change the assigned roles of other users. The form I've created registers changes to the user (such as password or login changes), but doesn't register changes to the user's role, which is a separate model.
I'm using Acl9 for role-based authentication, which uses a User ...
Does anyone know of any open source code (or ideally a downloadable module) that allows you to set REMOTE_USER?
I believe this can only be done via an ISAPI filter and there are no options in HTTPHandler or HTTPModules etc.
...
Hello ,
What I am tring to do is, when people comes to that page:
http://server:26521/MY%5FPortal/service/default.aspx
I want them to be redirected to that page
http://server:26521/default.aspx
Depending on their User name Or User Group.
Thanks for helps.
...
Ok. Im little bit confused about those permissions in linux so please people help me out. The trouble is that I dont want to run server as root, so I created another user with sudo privileges so he runs the nginx and php-fpm servers (example "sudo_user"). But the trouble is for example I have "some_user" and he has a directory of his web...
Is there a formula that will tell me the max/average # of concurrent users I would expect to have with a population of 1000 users a day using an app for 10 minutes?
...
int main()
{
cout << "Buy or sell (b/s): " << endl;
string buy_sell;
cin >> buy_sell;
.....
}
when i try to step through this in Xcode, i just stops at the cin >> buy_sell line, because it's waiting for the user input. How do i enter the value i want in the debugger so i can move past this? I'm using Xcode 3.2.1.
(I k...
I have a user control in WPF. I have to add children in the design view when user control is added to a window.
...
Hi,
We have some tables where we store some sensitive information. These tables have one extra column "ModifiedBy". Currently we insert the value for this column programmatically.
I am wondering if we have some way to get the current unix user into SQL Server. The idea is to auto-populate the user name/id into that column with the use ...
I want to get back to get a list of users on a network domain using VB.Net.
I will have the domain name available to me for use.
Thanks in advance.
...
Hello, firstly I would like to thank you in advance for any assistance provided.
I am new to software development and have designed several Client/Server applications over the last 12 months or so, I am currently working on a project that involves a user logging in to gain access to the application and I am looking at the most efficient ...
Hi,
I want to record video with new iPhone SDK available on 3GS without user interaction. I went through UIImagePickerController and UIImagePickerControllerDelegate class reference. But nothing important came up.I also tried to look at the sample code provided by Apple. I am still trying to figure out that is it really possible to recor...
Hello I have a problem of understanding what the sig parameter is and how to generate it. I have read the documentation in registerUsers but not sure what and how to get it.
...
We have a desktop application run on a few thousand client computers. We want to move from framework 2.0 to 3.5, but are concerned with the impact on clients. I understand that 3.0 and 3.5 are additions to the framework, and that they install service packs to 2.0; what I want to know specifically:
When a client upgrades to the latest...
Hi
I am new to LDAP.
I want to know how to identify if the currently logged in user in Solaris is a LDAP user or local user.
Any command?
or any C Run time functions like getspname, getpwnam which returns an attribute saying it is an LDAP user or local user after user logged in.
I am looking for Solaris.
...