The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
14 views

Dovecot 2.0.7 postlogin script not getting plain_pass

We are currently setting up a postlogin script to pass credentials to a script for syncing mail to another server cluster in preparation for a migration. The server we are setting this up currently ...
0
votes
0answers
19 views

List mapped zombie drives in powershell

I'm writing a little powershell script for some basic logs that have to be generated. Right now I'm stuck with logging mapped network drives: $colDrives = Get-WmiObject Win32_MappedLogicalDisk ...
0
votes
2answers
72 views

Logging in to X-Windows with advanced .profile

I have just upgraded one of my systems to Precise Pangolin (Ubuntu 12.04). (A long-overdue upgrade from Lucid. Youch!) When I try to login to X Windows, I get a ~/.xsession-errors file with these ...
2
votes
3answers
596 views

Disable Windows login script per network location

Scoured the internet for at least 10 minutes. Have a bunch of laptops that are logging in when outside the "work" network. I have been getting the question: I have an SSD and tons of ram why does ...
-1
votes
2answers
166 views

Run a script on ssh login

I have a development env. with 4 users, I want to be able to log their time logged in since they are contractor working from home. I have NO idea how to do it, my sys admin left me this weekend and I ...
0
votes
1answer
119 views

Login script not running as the NIC takes too long to initialise

We're just about to roll out a bunch of Lenovo T431s's but have an odd problem with the NICs on them. Basically (from reboot) they are taking too long to initialise (i.e. the blue "swirl" on the ...
0
votes
1answer
121 views

GPO or Login script

i am unsure of what i should use. i have a site with about 40 users and 6 different departments which need access to different areas and differnt mapped drives. What is better for me to create a ...
0
votes
0answers
305 views

Group Policy Email Signature Script

I have a VBS script that builds an Outlook Email signature and saves it to the user's machine. I want this to be called each time the user logs in, using group policy, but so far I've had no luck. ...
4
votes
2answers
234 views

OSX Server - How to set environment variable on network user login

I have a group of users on my server, "Developers", and I would like an environment variable to be set for them whenever they login. More specifically, when anyone in this group logs in, I would ...
0
votes
2answers
339 views

Can a user log into a Windows domain on a Win7 workstation before the network drivers come up?

I have a user who uses a pretty high end 3D package called Virtual Gibbs. Just last month I built him a new super fast computer with an SATA 6G/s SSD. For some odd reason when the user first logs on ...
5
votes
2answers
1k views

(solved) `ssh foo “<command/>”` not loading remote aliases?

summary: Why does this fail $ ssh foo 'R --version | head -n 1' bash: R: command not found but this succeeds $ ssh foo 'grep -nHe 'bashrc' ~/.bash_profile' /home/me/.bash_profile:3:# source the ...
4
votes
1answer
1k views

How can I start a program from a login batch script if the Command Prompt is disabled?

Our Terminal Servers has two Group Policies in place: one that includes disabling the command prompt, and another that runs a batch script to startup a program upon login. But the startup program ...
-1
votes
1answer
366 views

linux + print message on the screen after login to linux machine

I have linux machine red-hat 5.1 I want to write ksh/bash script that perform the following Each time that someone login to the linux machine then he will get the following message on the screen ...
1
vote
1answer
142 views

How do I extract the Drive letter from the result of EnumNetworkDrives

I'm using EnumNetworkDrives to list out all the drives on a machine. I'd like to determine which object in the collection is drive "X" What object is returned in EnumNetworkDrives that has a ...
1
vote
2answers
10k views

Login scripts in SBS 2011

Where can I add and configure a login script for each user in SBS 2011? For example, I to map a drive for a user-specific folder. I do not want to use folder redirection.
0
votes
2answers
33 views

Shares server user with startup scripts specific for each developer (using SSH)

On LAMP for web apps in PHP we use common ownership: all files all owned by user webmaster and group www-data. User webmaster has full access, www-data (used by apache) mostly read-only. Multiple ...
0
votes
1answer
179 views

Automatically log into SIP phone when user logs into Windows

We run an asterisk-based PBX, with FreePBX front end, configured in 'device and user mode' to support hot desking users. That is, a user arrives and sits at any desk, keys *11 into the phone (Cisco ...
0
votes
1answer
1k views

Login/Startup Scripts Not working

My test network setup is as follows. A Windows 2008 R2 Server acting as a DC (AD, DNS, DHCP) it is on its own vlan (10.20.99.0/24). I then Have two XP test computers each on there own vlan ...
2
votes
2answers
1k views

How to execute a batch file each time a user logins?

I've written a batch script which copies of some files in the CommonAppData folder (C:\ProgramData) to the logged in User's Local AppData. What I would like to do is to execute this script for every ...
1
vote
1answer
4k views

Outlook 2010 - Login Scripts - auto configure non exchange account

I am looking for a way to configure MS Outlook 2010 with a login Script if possible so that when a new user logs into there PC it automatically sets outlook up so that there email account is there for ...
2
votes
3answers
757 views

Active Directory set up with replication — need a way to control login authentication host

I have two Active Directory servers set up with replication, ad2 and ad4. ad4 has a higher latency than ad2 as it is offsite. All clients are supposed to log in and authenticate to the ad2 server. The ...
1
vote
1answer
2k views

Windows Map to user home directory fails with %username% variable

I have a user johndoe with the following drive mapping in his login script (.bat file). net use y: \\myserver\users$\johndoe However, when I try to use a more generic mapping using the username ...
1
vote
1answer
173 views

Netware - display user groups

Is there command in netware that will allow me to display all groups that user belongs to in login script?
3
votes
2answers
532 views

Why is my .bashrc script executing out of order / not waiting for steps to complete?

I have the need for teachers to fill in electronic registers in remote areas, and they need to be able to do it fast and with the least fuss necessary. To accomplish this I have set up netbooks with a ...
1
vote
2answers
2k views

How do you run “source” when starting a shell?

In order to use rvm (https://rvm.beginrescueend.com/), I need to run source ~/.bash_profile each time when I start a new shell. How do I automatically do this when I start my computer, rather than ...
3
votes
2answers
360 views

Applying Group Policy to the Security Groups

I'm using VBScript in my logon script to map network drives.. I know that a group policy should applied to individual user accounts and computer accounts by linking (GPOs) to Active Directory ...
0
votes
1answer
110 views

Does Shell command from Login script affect scripts synchronously setting

I have had to alter one of our login script to check to see if windows is 64 or 32 bit, then shell out to another command based on this. Does shelling out from the login script affect the run scripts ...
0
votes
1answer
448 views

Login Script Overview

Working on a project for an experiential learning class and well... I got asked to take care of the logon script, we're not ready to fully implement it yet, and I myself am a novice with scripts, but ...
0
votes
2answers
951 views

Login script doesn't run when logging in through “remote desktop”

I have a Windows 2008 machine (not in a domain) and a user with a "login script" under the profile tab in the user properties to run a batch file. Supposedly that file must be run when the user logs ...
0
votes
1answer
312 views

Script to copy file from server and install software

Here is what I want to do - I would like to install a software on every PC in my domain. I would like it fully automated. I am sure this can be done either using a batch file or a vbscript. Here is ...
1
vote
2answers
355 views

Link Documents and Desktop Directories on Mac OS X

I'm working on our login script for our OS X 10.5 deployment and I want to redirect the user's Documents and Desktop directories to their network home directory. In the login script I have a line ...
3
votes
1answer
4k views

How can I use powershell to check if a mapped drive is open / connected?

I am writing a login script which unmaps and remaps some drives. The powershell calls a small batch file for the actual unmapping, as Powershell seems a bit flaky at reliably mapping the drives. The ...
0
votes
2answers
295 views

What are people using as Login scripts in large enterprises?

We have recently been tasked with looking after the user login side of things in our enterprise (Windows clients in Active Directory). We have a system at the moment that uses a VBScript login/loggof ...
0
votes
1answer
334 views

Set Outlook stationery via Powershell

I want to set Outlook stationery to a particular template on all the machines on my network using Powershell (through a login script). Can someone point me in the right direction? Thanks, Ben
1
vote
3answers
3k views

Setting Default Printers in Login Script?

I've got a login script setup, that removes all old printers, and then adds the current set of network printers. CODE Set WSHPrinters = WSHNetwork.EnumPrinterConnections For LOOP_COUNTER = 0 To ...
2
votes
1answer
173 views

SYNC folder with server in drive D

i am using windows 2003 server and windows 7 as client. i have one folder in drive D i want to SYNC that folder with server. how can i write login script for that? Thanks