Hi,
Is there a one-liner that grants the SELECT permissions to a new user postgresql?
Something that would implement the following pseudo-code:
GRANT SELECT ON TABLE * TO my_new_user;
Whatever changes made on the UserInformtion in AD, it is not getting updated in users Mysite.
Farm Information:
SharePoint 2007 + SP2 + Dec-09 CU.
Issue:
AD-Team changes the user email-id.
changes are getting updated in SSP.
changes are not getting populated from SSP to Mysite/Site-collections.
any thoughts?
Hello.
Windows 7 Home Premium has local users and groups mmc console snap-in disabled:
Is there any custom utility I can use to manage my accounts? I need no more than adding users and email addresses to have some test accounts for my development purposes.
I don't want to use regular "user accounts" tool in control panel to add users because:
I don't want them at my welcome screen
I can't assign mail address to them
What is the best way to determine what causes a server timeout on a Plesk passworded directory in IIS6? Even if the default page is static text I can get a timeout.
This has worked fine for two years and has only seemed to change after adding a new permitted user.
Occasionally there is success but usually loading is very slow. Where would I look for a problem, as it doesn't seem to be page content causing the issue?
I'm using UltraSurf (10.17), it used to work fine but now its not working on my computer (Windows 7) and the window keeps showing "Connecting Server..." and after sometime, it fails to establish the connection. While, its working perfectly on the friend's computer on the same network. Any help will be appreciated. (Please note that using Proxifier would be my last option if I can't get UltraSurf working anyway).
I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:
$ sudo cd /root
it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)
Also, ive disabled the users password using
$ passwd -l user
What am I missing?
Somewhere my initial remarks are being misunderstood ...
I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.
Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).
For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.
But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.
Edit: Ok I think I've got it (the solution):
1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no
This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this
2) I've adjusted the sudoers list visudo and added
root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL
3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)
The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup).
Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.
NOTE The above works but is considered poor security. Any script that is able to access code as the "dimas" or "sherry" users will be able to execute sudo to gain root access. A bug in ssh that allows remote users to log in despite the settings, a remote code execution in something like firefox, or any other flaw that allows unwanted code to run as the user will now be able to run as root. Sudo should always require a password or you may as well log in as root instead of some other user.
Recently I've been playing one new game which is called THE WARS, it's so fucking interesting that has become the routine work of my life. Yesterday i carelessly downloaded some files with virus, now my computer can't work properly, i just found i couldn't open the game page! Im so mad now, im wondering is there something wrong with my computer or website server, if it's mine, i will find someone to fix my PC, please check out for me...thank you very much, here is the address http://wars.swagblack.com/webgamethewars.aspx
In linux I only see a /home/[[me]] directory. However, I know there are at least 20+ other users (root, www-data, etc..).
How come some users don't have user directories - and is it possible to create new users without a home directory?
I want to charge my iPhone, but it wants me to erase everything when I plug it into the USB of a new computer. Is there a way to add it to a new computer and keep my data on the iPhone?
I had a Vista machine and my iPhone was sync'ed to that machine. But after I got a new machine with Windows 7, I moved that old computer away and is not using it.
So now I installed iTunes on this new Win 7 computer, and bought a new song from the iTune store, but I can't add this song to the iPhone. It seems I have to erase all songs on the iPhone in order to add this one song?
When shopping for a new desktop computer, I'd like to get one that allows me to use two monitors. Is that something that most current-generation video cards can do (in late 2012), or do I need to search for a specific graphics card, or specific attributes for a card?
I've Googled the question but most answers talk about how to figure out if a computer that you already have can support dual monitors (generally, by plugging two monitors and seeing if they both work). Is there some key terminology that I'm missing in my searches?
I'm looking for example additional configuration done on new user creation, the kind of stuff that goes beyond /etc/skel. For example, has anyone written a script to set public_html set-GUID?
If I'm going to create a multi-device btrfs filesystem. The official recommendation from the documentation apppears to be to create it on raw devices; i.e. /dev/sdb, /dev/sdc, etc, but this is not explained.
Are there any advantages to creating a partition table on these devices first, either GPT or MBR, and then creating the filesystem on /dev/sdb1, /dev/sdc1 et cetera? Does feeding btrfs whole devices have some particular advantage, or are these basically equivalent?
There'a a belief that domestic chemicals (like washing powder many people use for washing the floor) and tobacco smoke can cause harm to computer equipment. Hard disks are believed to be especially vulnerable.
How real is the threat? Are there any researches/statistics that could help to assess the influence of domestic chemicals and tobacco smoke on computer equipment lifetime?
Hello everyone,
Is there a way to flip/invert/mirror a video out on a computer with a on board Intel video card? I'm making a large rear projection screen and i need to invert the image to project properly. One of my projectors has a function that automatically inverts the image, but the other one may or may not (likely not) and i need two projectors to drive the system so I'm hoping to do the inversion on the computer side before projecting.
as title says, I have to find all the groups that the user is a member of, and deleting its membership from all of them.
I've tried this:
get-adgroup -filter * | where {(Get-ADGroupMember $_ | foreach {$_.PrimarySmtpAdress}) -contains "[email protected]"}
but it doesnt return anything (although THERE ARE some items that have to be returned)
as for the deletion I found no way to do it, could someone give me an example of a code that does this?
Im talking about security groups.
I've got these problems:
1) sometimes winlogon.exe crashes at boot-up and my whole computer shuts off once i click "no" to visual-studio-2008 just-in-time-debugger window, takes about 30 secs until my harddrives starts up again, its really scary, i am afraid it is causing hardware malfunctions in long term. this has happened dozen of time now.
2) sometimes i leave the computer alone a while, i come back and i notice ctrl+alt+del doesnt work and winlogon.exe is using 100% of one of my 4 cores.
Most of the time, I need to have an active VPN connection when working from my home PC.
I've discovered, that if the VPN is active, and I leave the computer, the computer does not go to sleep automatically, as it should. If i disconnect VPN, it works.
Why is that ? How can I ensure that my PC can go into sleep mode automatically even with the VPN connection on ?
In previous versions of Windows, I have been able to "drag and drop" the My Computer icon to the top or sides of the desktop and convert it into a toolbar. The toolbar could be set "always on top" or "autohide". I found this a very convenient way to have instant access to all my drives with NO clicks.
Windows 7 does not appear to have this functionality. Is there any way to recreate a My Computer toolbar at the top of the Desktop in Windows 7?
I'm connecting to another computer via RDP. I would like to click on links inside my RDP session and have the links open in a browser on my client computer. It feels like I could install some application on both ends and have them communicate over TCP and proxy the URL opening.
Does something like this exist?
I have a Windows Server 2008 R2 running and I am able to connect to it using 2 different users via Remote Desktop Connection. Since a colleague and me are working on the server almost all the time and another colleague also wants to connect there is always the need to disconnect one user which is bad.
Is there a possibility to increase the number of allowed users? On another server there are more than 2 users allowed. What is different there?
My OS is Windows XP SP3.
This message sometimes comes up when I am shutting the computer down:
The instruction at 0x00000000 referenced memory at 0x00000000.
The memory could not be read.
The computer still shuts down. I cannot find a reference to this happening on shutdown, it only seems to be connected to programs that I don't have.
I have the whole Word 2003 package.
Any direction appreciated.
I would like to know if there is any recommendations about how far from the computer screen it is good (healthy) to sit when I work in front of the computer long days. In an ergonomic perspective.
Win7 Home Prem 32-bit
I use Firefox as my browser of choice but my computer came with Internet Explorer pre-installed.
Is it safe to remove Internet Explorer from my computer completely or will this cause any problems?