4
votes
1answer
55 views

Way of receiving alerts on login attempts, whether successful or not?

I believe my linux machine to be reasonably protected from external login. But since I am mildy paranoid, I would like to be alerted when there is a login attempt made to the server, whether ...
0
votes
0answers
53 views

Lost graphical login after automating script command

I'm running Ubuntu 12.04 LTS and I want to log all input/output from users. I've simply tried adding script -a -f /LOG_files/Log_file.txt to users ~/.profile. The logging works just fine, but ...
2
votes
2answers
228 views

Bash login script with zenity for CIFS mount

I am writing a mount script for Windows share to run after login. I have done it with bash and zenity and it works, but now I need to make it better so if username field and password field are empty ...
5
votes
1answer
217 views

Sequence of scripts sourced upon login

I would like to concentrate all my login config in my ~/.bash_profile. There was a ~/.bashrc there by default but I replaced it with a ~/.bash_profile. However, when I log in, something before my ...
0
votes
1answer
358 views

Why do I need to run “/bin/bash --login”

I have just setup a new Ubuntu 13.10 server with ruby 2.1.1 installed through rvm. The problem is that whenever I switch to the user "rails" (the user I installed ruby and rails with) I have to run ...
4
votes
1answer
118 views

Can't login after adding script to /etc/profile.d

I have created a little script to add bookmarks in Nautilus to redirect users to network share. If I run the script manually, it works brillantly but as soon as I try to add it in /etc/profile.d, I ...
2
votes
1answer
166 views

Run .bash_profile script at login

i'm working on a deb package that allows the administrator to create another account and run that account automatically in kiosk mode. I created the user, specified a shortkey and put that in a hidden ...
0
votes
0answers
157 views

unable to root login and may be ~/.bash problem

initially i am trying to connect with github with RSA key and it is giving error permission denied...unknown host. Then change my ~/.ssh directory permission to chmod 700 ~/.ssh chmod 600 ~/.ssh/ ...
0
votes
4answers
2k views

Problem with default shell and home directory

I have recently been granted access to a machine at work. However, I have been having trouble setting up my development environment. Relevant information about the machine: $ uname -a Linux ...
2
votes
1answer
100 views

How do I log out specific sessions?

I have read this these generic instructions to log users out, but I want more detail. When I run the command users I see multiple instances of the same user. IE: Joe Joe Joe Joe Joe How do I know ...
0
votes
1answer
143 views

Can't login to GUI, only to tty1-6, /bin is not included in the PATH environment

I was trying to make the brightness controls work after I had made a clean reinstall of Ubuntu 12.04 on my Gateway computer, based on this thread, and proceeded to restart because I also had a few ...
4
votes
1answer
179 views

Function inside .profile results in no log-in

I've created a custom function in my .profile, and I've added right at the bottom, after my custom aliases : # custom functions function eclipse-gtk { cd ~/development/eclipse-juno ...
3
votes
1answer
5k views

Can I log in with other user's account?

I would like to ask you about login command in bash shell Ubuntu. I entered #login then it asks me about username and password. Is this a way to log in with other user's account?
4
votes
1answer
267 views

why aren't my bash aliases applied when logging in to server

When I log in to my Ubuntu 12.04 LTS server my bash aliases aren't applied, but if I execute bash from the command line they are. ~/.profile executes ~/.bashrc: if [ "$BASH" ]; then if [ -f ...
2
votes
1answer
575 views

Setting the PATH in .profile works without exporting it, how?

the default .profile does not export PATH, still the PATH set there is available to all processes. How does that work?
4
votes
2answers
8k views

bash script to login to webpage

I am trying to login into this page but I cannot for the life of me get it to work. I have to login to this site when i connect to my school's wifi in order to start a session. So far ive tried to ...
1
vote
2answers
2k views

Ubuntu 12.04 Can't Login-Tty Console said: -bash: /usr/bin/byobu/-launch: no such file or directory

I face problem in login to Ubuntu 12.04. I think it's caused by accessing super user (if not wrong). I type sudo nautilus to put a background to burg, but i fail x_x. After reboot, i can't login to ...
32
votes
1answer
16k views

What are login and non-login shells?

It is said that settings for non login shell to go into .bashrc file and login shell settings to go into .profile file. What is really meant by login and non-login shells? Please explain without ...
1
vote
2answers
555 views

asked for sudo password, post login to bash shell

With 11.10 when any of my users with the bash shell login upon success they are asked to provide their sudo password e.g. Last login: Fri Jan 20 19:13:36 2012 from x.x.x.x [sudo] password for *user*: ...
2
votes
1answer
395 views

Script to login and load main gui in Ubuntu 11.10

I have a RFID reader interfaced with an Arduino microcontroller left over from a past project, which I would now like to use to automatically login on Ubuntu 11.10. What I'm imagining specifically is ...
5
votes
1answer
702 views

Source/Dot operator error on login. Possibly caused by bad byobu uninstall

I am getting an error message every time I ssh into my box or run sudo -i. It looks like this for login: login as: person chands@ubuntu-server's password: -bash: .: filename argument required .: ...
2
votes
1answer
5k views

Run simple bash script to start applications at login

I want to run a simple bash script automatically when I log in. For example #!/bin/bash echo "start spotify" gnome-terminal -e spotify --title spotify When I run this command, one gnome-terminal ...
1
vote
2answers
1k views

Exporting bash function in .profile or .xprofile kills X during login

I'm trying to export a bash function during Gnome login using one of the login shell start-up scripts. I've tried doing it in ~/.profile and ~/.xprofile but it results in X dying and restarting at the ...