Ubuntu :: Windows Equivalent - Logon Batch Scripts?
Sep 5, 2010
I have a logon script set in the startup folder "All Users > Startup > logon.bat" and it nicely mounts network drives from a Windows Server 2003 computer. The script is as follows:
<logon.txt (.bat) attachment>
Very simple. Now what I need to know:
- What is a batch equivalent and what commands will I need?
- Where is/how do I use the equivalent to Startup folder
- Can I get it to mount in the Computer folder or will it be mounted through root ("/") or can I have it easily accessible (maybe the Desktop)?
- Is there a way I can get the equivalent to the Windows password vault (remember passwords for certain addresses) and;
- If not, can I get the script to request Username and Password from the user for the mapping?
- Can I write to the folders if the user has permissions to write (had trouble with smbmount doing this)
View 3 Replies
ADVERTISEMENT
Jan 26, 2010
Our system is based on RH4 and is using pam_tally and faillog to record failed attempts and to lock users out after 5 attempts. We have a requirement to provide a normal (non-root) user logging onto our system, with information regarding the number of failed logon attempts made on their account before the current successful logon (similar to the functionality provided by HP Protect Tools on Windows). My first idea was to add 'faillog -u $USER' to the bashrc, however by the time the bashrc is run - the user has been successfully authenticated and the faillog has been reset back to zero.
View 5 Replies
View Related
Feb 2, 2010
I have active directory users. User can log on with username/password from active directory in ubuntu. Users have their directory on Windows file server. They have read and execute rights on file on windows file server with same username and password from active directory(192.168.2.1/file/username for each user). I want that user's directory on windows file server mount to /home/username/disk on logon for each user, which logon in ubuntu.
View 1 Replies
View Related
Sep 26, 2010
I have several program windows open on my main display (showing on my physical screen).I've created a second display for VNC connections (using vncserver :14).Is there a way I can move all open windows from the default display to the VNC display?
View 1 Replies
View Related
Mar 14, 2010
Does Ubuntu have an equivalent to system restore like windows?
I just want to know what the best way is to save everything , as in settings and programs etc. , just in case there's some sort of major failure.
Any ghosting programs that will allow me to save the last known good configuration? or clone the entire drive?
Since I've been using Ubuntu I haven't run into any major screwups like with windows , but there are some times I've installed it and it took a while to get different things working. I don't want to have to go through the whole process again if there's ever a major malfunction.
View 9 Replies
View Related
Mar 29, 2011
Here at work we've made very good use of Server 2003's Shadow Copy service, which lets me restore users' files quickly and easily using the Previous Versions software--yet takes minimal resources and storage space on the server. I've also heard that the service may be available to users in Windows 7. Is there an equivalent of this in Ubuntu? Something I could set up that would snapshot files on my hard drive every so often, and let me recover deleted files or earlier versions of files?
View 1 Replies
View Related
Jun 14, 2011
Does Ubuntu have the equivalent of a Windows .exe self-installable file? If so, what is it called? I seem to remember installing LimeWire on Ubuntu a while back and the file I downloaded was self-installable. Is there a place where Ubuntu programs are available for download as packages that install themselves?Why are most programs for Linux not self-installable, like .exe installers in Windows? Is there a security advantage to most programs not being available for download a single automatic install file? It would be much easier for me to go to a program's website, download a single file that installs by itself, and be done with it.
Also, why is it that, unless you install a program in Ubuntu using synaptic package manager, the program cannot be uninstalled under GUI? I really love Ubuntu, but find that even having simple control over installing and uninstalling programs is a real pain. I would love to go to LibreOffice's website, download a single file for Ubuntu that would install the entire program, install it, and be done with it.
View 5 Replies
View Related
Jun 30, 2011
I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
View 4 Replies
View Related
Nov 22, 2010
I need to write a windows batch file to run unix commands by logging onto a telnet unix server. For example , I might want the batch file to log onto the unix sever, run the ls command, collect the output in a file and ftp it back to my windows desktop
View 8 Replies
View Related
May 1, 2010
Is there a good Windows Live Writer equivalent for Ubuntu, something that would let me post on my wordpress blogs in a more convenient way?
View 6 Replies
View Related
Oct 8, 2010
The only thing I miss about Windows is the US International keyboard setting. Is there really no equivalent in Ubuntu?
The current Ubuntu US International keyboard setting is just not the same. "whodoesitwant" explained the difference last year [URL], and it has been asked about before [URL]. Does anyone know if there are plans to implement a Windows-like keyboard setting?
This may seem petty, but it's a real nuisance if you've learned to touch type in Windows. At the moment the best I can find in Ubuntu is the US International (AltGr dead keys) layout, but it's awkward and slow using the right-hand alt key.
View 6 Replies
View Related
Jul 14, 2011
When creating a shortcut in windows it makes a .lnk file.
I have researched and it seems these are openable in linux(with some tweaking). Does Linux have an equivalent? If so, whats the extension?
View 2 Replies
View Related
May 29, 2011
What is the equivalent of 'uint8_t' to windows?When I tried to compile a program with variables declared as 'uint8_t' I got this errors.
Code:
'uint8_t' : undeclared identifier
'uint32_t' : undeclared identifier
View 8 Replies
View Related
Jan 11, 2010
I've installed oS11.2 on a test box and joined it to our office domain without a problem. It's presently using winblows domain for authentication.
I can login normally, but when I attempt to unlock the screensaver using my windows credentials I am told that my account is "locked out, contact admin..."
A quick look at AD shows that my account is indeed being locked out, presumably when the 11.2 locks the screen.
what's causing this and how I can correct it?
View 7 Replies
View Related
Mar 12, 2010
I have a PC running Opensuse 11.0 Linux. I currently login using ssh with putty. However this is a command line login. How to do a remote xserver login from windows to run a gnome or kde session. what software should I use?I have the root password for the Linux PC and admin privileges on vista.
View 2 Replies
View Related
Apr 18, 2011
Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?
View 4 Replies
View Related
Jun 9, 2011
In follow-up to the cmd.exe question, what is the PowerShell equivalent to echo %cd%, or Linux/Unix pwd?
View 3 Replies
View Related
Jan 14, 2010
Is there any Linux equivalent to Windows Live Writer? I've got the Wordpress for iPhone app on my iPod and Windows Live Writer on Windows. These programs are much easier for stuff such as adding images than the web interface. Is there a similar program for Linux that works with self-hosted Wordpress blogs?
View 1 Replies
View Related
Jun 19, 2010
I want an open source equivalent of Tahoma in windows. Had been using windows fonts and now I am ditching it completely.
View 3 Replies
View Related
Nov 17, 2008
I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.
View 5 Replies
View Related
Sep 27, 2010
I have just started to learn Java programming and need to be able to use a compatible notepad equivalent in Ubuntu i will need to save the data as is,in Ubuntu and be able to transfer the data from my Linux machine to the windows desktop regularly via memory stick i absolutely love Linux and don't want to have to go back to windows to do this.
View 5 Replies
View Related
Jan 3, 2011
I have update my linux server from mandriva 9 to mandriva 2010
I was working using samba 2.2.8 and now I have samba 3.5.3.I have transfer all passwd and smbpasswd to new linux.I have convert smbpasswd to tdbsam
when i am using win xp to logon on samba domain the windows XP does not load profiles from samba. I think that the problem is NTUSER.DAT storing in /home/user/profile
The same profile is working using samba 2.2.8 but not working in samba 3.5.3..
View 1 Replies
View Related
Mar 25, 2010
strings in Unix and Linux extracts printable strings from a binary file. Is there a version of this for Windows? I couldn't find one.
View 2 Replies
View Related
May 28, 2010
I was trying to understand "batch" command, and I thought perhaps when I am logged in a terminal, in addition to X, there are multiple users, and man page says it is not suitable for multiple users. But then, you could never use batch in a terminal? So not sure... take a look, at first it works, then it does not. In this example, I am trying to use "batch" to make (touch) a new file. And the load is always very low.
[Code]...
View 4 Replies
View Related
Jul 31, 2010
I am trying to run a .batch file, I was wondering if this edit would make it work, this is a java application-loader.
Code:
#bin/bash
java -Xmx500m -cp .;Theme.jar Gui 0 1 lowmem members 32
pause
View 2 Replies
View Related
Oct 5, 2010
Is there some way of recursively batch converting mp3s into oggs while keeping the same directory structure?
View 8 Replies
View Related
Oct 19, 2010
I recently installed JDK 6 runtime using apt-get install in terminal. I downloaded a .jar file and attempted to run it but I got an error telling me it has blocked the file for some reason.Another thing was, how can I run batch files? I know ubuntu doesn't come with something like MS DOS but is there anything similar that I can run batch files with?
View 3 Replies
View Related
May 11, 2011
This all started when I had no sound being detected by my laptop's mic. I also have an external USB sound card and it was not detecting mic sound either. I had previously done recording with Audacity (it could have been back in Ubuntu 8.04).
Now, I had a feeling that I was going to break something trying to get the mic to work. Sure enough, I'm at the point now where I cannot logon to the GUI (gdm).
I made a number of changes before my last reboot.
Here's a summary of what I think is the primary cuase (pulseaudio!):
At one point, I had lost sound altogether (I believe this was a result of having installed pulseaudio Volume control, which someone used to unlock and configure their mic).
So, things were starting to degrade. Being the persistant and stubborn one that I am, I decide to trudge on.
I had read enough suggestions (and desite enough "didn't fix" responses), I decided to try removing pulseuadio altogether. After rebooting, I was not able to log on.
Let me try to describe this logon situation as clearly as possible: When the laptop boots up, it shows the Ubuntu logo with the colored dots below moving from right to left (orange/white).
When I get to the user logon screen, it's not as fancy as it normally is. The logon window which allows me to select the user is a little more basic and the background is a simple black/purple color. The day and time is displayed on the task bar below as well as a power icon with options to suspend, restart and shut down.
This is how the logon screen used to look:[url]
I've been unable to find a screenshot of the current state and I don't think I'll be able to post one due to my technologically limited situation.
When I select my user and enter the password, The screen goes blank (or displays what appears to be the console for CTRL+ALT+F1) and then I'm back at the user selection as described above as if I hadn't even tried to log on.
At this point, I'm not positive which distro I'm using, nor which kernel, but survey says:
My laptop is a Pavilion zd8000.
lspci shows I have: VGA compatible controller: ATI Technologies Inv M22 [Mobility Radeon X300]
I'm not sure if this is proper. When I run /etc/init.d/gdm stop, I get: Rather than invoking init scripts through /etc/init.d, use the service( utility, e.g. service gdm stop.
Probably not, because when I try sudo service gdm stop, it returns: stop: Unkown instance.
OK. Maybe it's OK, because running sudo service gdm start, I returned back to the logon screen. (But, I'll include this because it may indicate something, but I think it may be the way the "service" works now...)
(I do have networking enabled, so I can run apt-get and what not)
I find this interesting. I installed kdm. I started it after stopping gdm (through the service command as noted above). I was able to log on through kdm, but I'm not brought to a desktop, only a black background and a terminal window in the upper-left corner, without any window frames (I can't min/maximize/close). There doesn't appear any way to log out...
I'm not exactly sure where to go from here. I'm getting more interested in a backup/reinstall, but I may not have the ability to do that on hand, so I'd like to try to get things working. At the very least, I'd like to be able to log on and do work. Sound would be nice and a working mic would also be nice, but I can do without either of those two for now.
Most of the solutions I've been able to find in terms of not being able to log on has been a result of:
- Bad usernames/passwords
- Insufficient drive space to allow logon
While I haven't tried creating any new users and logging on with them, I'm confident it wouldn't do any good. df -a shows: /dev/sda1 Available = 6324296. Should be enough for basic operations.
My plan at this point is to start woking on the kdm angle. Since I am able to log on, but only to a terminal window, perhaps I can find some info on why that happens...
View 7 Replies
View Related
Feb 16, 2010
I want to quickly get to the Root directly (or whatever it's called).This is how I do it now; (the text in bold is what the computer spits out)
me@me-desktop:~$ sudo -s
[sudo] password for me: (then I enter my password)
root@me -desktop:~#
I'd like to just type one the new of the batch file and then hit enter. The batch file would then do the rest.
View 9 Replies
View Related
Nov 9, 2010
Is it possible?I am mainly looking for A shell script or program that can convert a Batch (.BAT) file into a Windows executable (.EXE), or
A program that can be run from MS-DOS that can turn a batch into an exe.
View 3 Replies
View Related