Ubuntu :: Execute Scripts When Login
Jan 17, 2010
I have installed rkhunter, unhide and chkrootkit and which I want to execute through a script. Now what I want is after successful login and starting all startup applications it will launch a terminal and run the script there.
View 1 Replies
ADVERTISEMENT
Sep 14, 2010
I want to start my Ubuntu 10.04 and without logging in I need a command started. The command is setxkbmap .... So, I will not put the command in my .profile, nor in my .bashrc, because I am not going to login.
View 2 Replies
View Related
Sep 14, 2010
I want to start my Ubuntu 10.04 and without logging in I need a command started. The command is setxkbmap .... So, I will not put the command in my .profile, nor in my .bashrc, because I am not going to login.
View 1 Replies
View Related
Feb 2, 2011
I need to execute this command after login: gvfs-mount -d /dev/sda1.It works perfectly from terminal but it doesn't if I add it to "Startup Applications" or to rc.local.Is there another way?
View 2 Replies
View Related
Mar 25, 2010
My problem is:
sub init() {
$Test->description("Establishing the connection to the client");
eval {
$Host = host($CLIENT) or die($@);
$Conn = connect("#ssh") or die "Client connection Failed" . $@;
};
if ($@) {
$Log->error("Unable to instantiate the Objects for the Test" .
[Code]...
Here I'm trying to connect windows machine using connect object which is working fine. But when I tried to execute the command on Windows machine from Linux machine by using:
[Code]...
View 1 Replies
View Related
Mar 19, 2011
I am trying to write one script. Purpose of my script is that it will login to particular user and it will execute some set of commands.What I was trying....
#!/bin/bash
su - tom
ls -lrt
[code]...
View 6 Replies
View Related
Apr 25, 2011
I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.
View 4 Replies
View Related
Feb 17, 2011
i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???
View 1 Replies
View Related
Dec 1, 2008
Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually
View 5 Replies
View Related
Sep 25, 2010
I have a file with two fields of numbers that I want to use as input for another program.
Code:
The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.
View 9 Replies
View Related
Aug 18, 2010
I have used Ubuntu since 7-4; I now have 10.4. However, in the last week I have been taken to the login screen three times. This could be potentially calamitous. Ctrl+Alt +Backspace have by default been disable since 9-4. There is no way I am pressing atl+Prtscr +K. I wonder if there is a new zap command in 10.4, and if so, how to disable it. I have never found the need to go back back to the login window. I am generally using the command line when doing this.
View 1 Replies
View Related
Oct 10, 2010
I just finished installing 10.10 on my pc. the problem is that i cant login to the desktop i enter the password, the login sound plays and im stuck looking at the wallpaper. nothing else. i tried logging in safe mode and it worked. how can i get it to work normally?
pc specs:
Pentium 4 2.6 ghz
512mb ram
ati radeon 9600 graphics card
And i installed it using wubi.
View 9 Replies
View Related
Oct 10, 2010
I recently powered up my netbook... Selected my user log in, entered my password, and after a couple seconds I briefly see what looks to be the console and am returned to the login splash screen... I can Ctrl+Alt+F2 to get to the console and log in... but that is as far as I can get. This is the case for Gnome, Remix, and Remix 2D.
I can sudo apt-get (update, upgrade, etc) as well. It is the right password because if I type in a wrong one it presents an authentication failure dialog box.
How can I fix my log in screen and get to my desktop? I am Currently running 10.04.... waiting to get 10.10
View 1 Replies
View Related
Aug 4, 2011
yesterday i installed slim login manager on my computer (eee pc 1018p, ubuntu 11.04), and now it cannot get passed the ubuntu loading screen (with orange dots underneath) when booting. i tried booting into recovery mode and that didn't work either. i also left the computer trying to boot overnight and that didn't work.
basically, during this loading screen that should eventually bring you to the login screen, i can alt+tab to see the progress of the load. the progress is stuck on
Is there anything I can do from grub to remove slim?or, is there any way I can access my ubuntu partition and save all my files?
View 7 Replies
View Related
Dec 24, 2010
I don't what happened but yesterday I was working normally and then I shutdown the computer, today when I opened ubuntu it took me to tyy1 login screen, I entered my username and password then it took me to the normal login screen with the login drums sound and it wrote on my account (logged in) so I clicked it and I entered my password again and then I got to my ubuntu so what went wrong and how to fix it also I noticed that a new terminal in system tools occurred called Kernel (I didn't add it)
I'm using ubuntu 10.10 on Dell inspiron 1520 with Nvidia 8600GT and 3GB RAM
Important: this happened after update to generic-headers-24
View 1 Replies
View Related
Apr 15, 2011
I just bought this desktop from my friend and it runs win 7 and ubuntu 10.04. it worked very well the first two days until I changed the hostname of the system.
I did like: hostname myNewName
And everything worked fine. The problem now is when I start ubuntu and and reach username and password screen , I enter my password to login the screen becomes black and return me again to the screen where I put my password again. If I entered wrong password , the system message stating wrong password. On the other hand, when I try to run ubuntu from live-cd I can login easily and access my account.
My friend told me he removed Naultius package and reinstall it for some reason before he gave it to me. Note windows 7 is working properly.
View 6 Replies
View Related
Mar 15, 2010
System was fine with :Ubuntu 9.04 (had also installed kde )then....I wanted to try some change to gdm so i downloaded gdm while building it , it asked "PAM" libraries to be installed so i installed PAM ... but ignored the instruction to reinstall SHADOW (library i guess..),Now :on booting system i get login menu but i am not able to login , it says some critical error occured
1) install new copy of UBUNTU and remove old
ps :1) i can log into system through live cd
2) i can use recovery mode boot and log into terminal as root(startx is not working from this terminal..
View 9 Replies
View Related
Jun 5, 2010
I have just did an upgrade from 9.04 to 9.10. I am planning to go to 10.04 . After the upgrade everything was ok but I noticed the GRUB was still legacy. So I updated my GRUB to GRUB2. Now when I boot, after entering my logon-id and password, it just brings me back to the login-id screen (to logon on). Any indication of what is wrong and how I should fix this ?
I have no encryptions. [added comments] Currently reading thread about login loop bug with 9.10 Followed instructions about possible missing pre-release update but even if it did do updates, I am still login screen looping. Doing additional researches until someone answers with the fix.
did :
CTRL + ALT + F1 switch to one virtual console
sudo service gdm stop
[Code]...
View 7 Replies
View Related
Sep 28, 2010
When I try to login with my username, the one I created when I installed the OS, it seems to try to login but almost immediately kicks back to the login screen. No authentication error it just seems to just logout? The only change I made since last successful login was to add ". .alias" to the .profile file - the only entries in the .alias file are comments and "alias" commands. I have one other username but it is not in the sudo's list of users so I can not change anything in the master login.
View 3 Replies
View Related
Nov 18, 2010
I just updated to 10.10 (), but I have one problem. I changed my password a few days ago, and now whenever I log on, It comes up with the attached message, and I have to type in my OLD password to connect to wireless.
View 4 Replies
View Related
Feb 15, 2011
I installed xorg-edgers around the time the issue started, but I install and uninstall packages so often its hard to tell if this was the cause. Regardless, I ppa-purged the xorg-edgers ppa, reinstalled the proprietary nvidia drivers, and created a new user account, to no avail. I also wiped the /tmp directory, and reinstalled compiz, and tried dpkg-reconfigure -phigh xserver-xorg.
So far nothing has worked; I've checked out dmesg and /var/log/syslog, and nothing seems to be amiss, but admittedly I'm not sure what exactly to look for. I have a feeling its an issue with X being broken now, regardless of my attempts to downgrade, but I don't know how to go about correcting it.
View 9 Replies
View Related
Apr 18, 2011
I have a problem regarding the ubuntu enterprise cloud. I have installed CC,CLC,SC,NC and a client and logged into thje user interface using my browser for the first time with bith username and passwd as admin and downloaded the credentials.But now as I try to login with the same username and passwd, it says that its an invalid login. I understand we have to change the password on the first login but i don't remember doing the same.
I tried recover password option and gave the user name as admin and email address as my gmail id. It says that I have to follow the instructions sent to the mail, but there is no mail sent I have done it like 5 or 6 times with different mail ids
View 7 Replies
View Related
Dec 14, 2010
I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.
And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.
View 9 Replies
View Related
Feb 22, 2010
I have program that work like Fedora Firstboot it's run only one time after finish installation. I have two questions to ask.
1. How can I start this application before gdm start (login screen or auto login)
2. How can I start this application in fix display resolution (800x600)
My method now is
(This is a part of script , this script execute from /etc/init.d/myfirstboot , I create symlink to /etc/rc2.d/S1myfirstboot for start it before anything)
gdm-stop # first time I use /etc/init.d/gdm stop
DISPLAY=:1
export DISPLAY
/usr/bin/Xorg :1 &
[Code]...
I don't understand why first time firstboot start the system will auto loging in but not complete yet and then my script is start and it's work does not fine I think that is another user is already login , but if I re run my firstboot again and again (by setting something that can revoke my firstboot and restart) it's work before auto login and every things is ok!
View 3 Replies
View Related
May 1, 2010
I just installed 10.04, and its taking me to the console login, rather than the graphical login. When I tried the live cd, the graphical environment was good. But after installation, I dont get the graphical login , so that I can get into the desktop.
I have a ATI Mobility Radeon X1400 card on ThinkPad T60. Everything was working on 8.10, and I decided to install 10.04 and now it doesnt work.
View 3 Replies
View Related
Jul 11, 2010
I installed 10.04 on my pc. I also have 9.08 and XP installed. Both work. The 10.04 gui login screen displays and asks for the password. I enter the password. The screen goes blank but after a few seconds the gui login box re appears and again asks for a login. I rebooted into the TTY, created a new user, checked the new user was in in /etc/passwd and that I could get into the new user's account. When I rebooted into the gui the new user was there and I entered the password but again I just got back to the gui login window. The pc I am using is at least 5 years old. I have tried startx and I do get the gui background but no controls are displayed. I am using 32 bit 10.04. Using the TTY I have uploaded all the current fixes.
View 3 Replies
View Related
Jul 13, 2010
I'm hosting a server with Ubuntu 10.04. I've stumbled upon a strange problem.The server seems to refuse any login attempts, either with SSH or via a TTY after a reboot. After a couple of minutes (about 10 minutes or so) I able to login. The memory usage isn't high at login nor the system load. The auth.log doesn't show any login attempt before.problem? Or does anybody have a suggestion I could try to fix this?
View 2 Replies
View Related
Feb 14, 2010
I was wondering if it was possible to execute a program from RAM, like having the file data in a bash script variable and then running it.
Something like this:
ls=`cat ls`
$ls
So is it possible to run a program without touching the hard disk and without creating tmpfs or ramfs (it would need to be standard user privileges).
View 1 Replies
View Related
May 4, 2010
I'm having trouble printing with CUPS. Turns out that none of the binaries under /opt/OpenPrinting-Gutenprint can be executed. Witness:
root$ cd /opt/OpenPrinting-Gutenprint/bin
root$ ./cups-calibrate
bash: ./cups-calibrate: Permission denied
[code]...
View 7 Replies
View Related
May 18, 2010
execute a .bin file. I have downloaded an application but I cannot run it (not recognized by double click).
View 7 Replies
View Related