Questions tagged [login]

the process of logging in: from the login prompt, through user authentication, to session startup

8
votes
3answers
7k views

How to execute a script on gdm login automatically for all users?

What file should I modify to execute some instructions when any user logs in through gdm? I tried /etc/bashrc but that is executed ony when starting bash (and each time an xterm is open). I'd like to ...
1
vote
1answer
17k views

Execute a script automatically through pbrun?

There is a Unix environment named sftwrk01, uatwrk01, intwrk01 and some more I need to check the logs in each environment everyday by login in as below (through pbsu which is a wrapper for pbrun): $...
3
votes
2answers
337 views

How to check who is logged in on the currently active virtual terminal?

I want to collect statistics about who is using a computer and for how much time. I can use the users command to see who is logged in but I want to know who is on the currently active VT. I don't care ...
4
votes
1answer
1k views

Why do I need to use newgrp or su (or logout and login again) to have new group memberships applied?

What is it that makes new group membership require a new login (or new login shell as started by su or newgrp) to be visible? Just running another bash (or whatever other shell) instance with --login ...
4
votes
1answer
187 views

Which steps I have to follow to configure Ubuntu server with Mac and Windows workstations?

I've recently installed Ubuntu Server 10.04. I already have configured the basics and now I want to associate Windows and Mac OSX machines with the users created on Ubuntu so that when I login in one ...
4
votes
1answer
2k views

What is the best way to manage users across multiple servers

I am inheriting about 20 linux servers running different versions of Ubunutu (7 and above). The current setup has people logging in(ssh) with a shared login (it was explained to me that this was done ...
6
votes
1answer
315 views

Is there a standard way to have a program start when a user logs in on Linux?

Is there a standard way to make a program start when a user logs in? On Ubuntu, for example, you can place a .desktop file in ~/.config/autostart and the application will launch on startup. Does ...
0
votes
1answer
3k views

Centos 'Login incorrect' problem

When I type my username and password into the login field, I receive the following error: Login incorrect How can I solve this problem? I am using CentOS.
4
votes
2answers
3k views

run xmodmap commands after login

I created a file ~/.Xmodmap with my mapping commands. I thought that it will be automatically launched after login (and restart) but it's not. So I have to always run after login the command $ ...
4
votes
1answer
2k views

Program to keep track number of login attempts

Is there any way to keep track of number of attempts made by a user to login into his system?
8
votes
2answers
698 views

Why are UNIX logins often formed with the first letter of the first name followed by the first seven letters of the name?

I have seen in many places (especially universities) logins formed in the following way: First letter of the first name: John Smithsonian → j First seven letters of the name: John Smithsonian → ...
2
votes
2answers
4k views

Root password not working to log in to Gnome with gdm

I have a weird issue going on. I have a user account and I can login to Gnome normally. From a terminal there I can use su root and switch to root with my root password. However, when I try to login ...
3
votes
1answer
38k views

How to enable remote login?

Currently I can only login to my remote linux via the "ubuntu" user account, without a password (via SSH authentication). I have another user configured on the machine, and if I try to login with its ...
3
votes
1answer
240 views

Multiple X startup profiles

I run XMonad window manager and use .XSession to startup things like Dropbox and launch other apps I need, at login manager i select User Defined Session. I like to know is there a login manager where ...
6
votes
3answers
1k views

Running continuous jobs remotely

I'm new to Linux, and I'm probably asking a fairly basic question. How do I run a continuous program on Linux? Basically, I have a program that will continuously check for content on a website. This ...
4
votes
3answers
1k views

How to resume a gnome session?

I am in the middle of a project where I repeatedly have to stop X11 to debug. I stop with Ctrl+Alt+F1 then login and $ sudo /etc/init.d/gdm stop Then I go about my debugging. then restart gdm ...
2
votes
2answers
2k views

Auto login for Ubuntu (or other Linux) without GUI?

I am thinking about doing an Ubuntu installation with their mini ISO, which comes only with the barebones system without a desktop environment/GUI. I remember being given the option to set up ...