General :: User Login Not Working

Aug 9, 2010

Talk about being thrown in at the deep end! I am not used to linux systems but I have inherited a linux based internet setup that I need to take care of.Two machines (both have centOS 5) are networked and one is accessing the /home directory so people can log onto their personal home folder.The log in screen on the second machine usually just requires the individual to input their username and password and it automatically accesses their folder on the other machine.At the moment it doesnt and comes back with an error saying that the session lasted less than 10 seconds. Looking at the error message it is saying that the profile was not found and couldnt create per-user gnome configuration directory.

I am able to log in to the local root user on the machine and I can see the networked drive and even access the home directory.looking thru the network setting I see that the other machine seems to be acting as a samba server?? and is connected with SFTP?Any idea how to fix this problem as I have a load of guys sharing 1 PC for internet access in the middle of the atlantic Ocean on a ship!

View 3 Replies


ADVERTISEMENT

General :: Login As Other User Using Shell Doesn't Load The Profile For That User?

Dec 11, 2009

I am using the sudo command to log on locally as another user by the following command:

sudo -u theotheruser -s
or
sudo -u theotheruser sh

As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.

View 11 Replies View Related

Ubuntu :: Sudo Or User Login Not Working - Fresh Install?

Aug 17, 2011

I have this weird problem after a fresh install of Ubuntu 11.04: I can enter desktop using autologin but if i open a terminal i cant run anything as superuser ried:

sudo -i
sudo su
sudo <command>
gksudo <command>

i get somthing like: error, invalid password etc etc 3 incorrect login attemtps Also if i ALT+F2 or close gnome session i cannot login back with my username, same error notes: 1. the password is right, i did a second install of ubuntu to make sure it was not my mistake 2. groups seems ok, user is in admin groups 3. I have a similar error, same computer but on an old installation that i ve updated since ubuntu 9.04 to 10.04, then 11.04 but. But here if i try the password a couple of times then i get it working.

View 4 Replies View Related

Debian :: Live Cd Login Info / 'user' And 'live' Are Not Working?

Nov 9, 2010

I can't seem to find this anywhere. I have burned Debian 5.06 for i386 and trying to login when running the live cd. What is the username and password to get in?

edit....
I found 'user' and 'live' but they don't work.

View 10 Replies View Related

General :: Login To Sub User?

Sep 25, 2009

I installed the Linux and can login with root first. Then I add a new user with name and password.But as I try to login as this user with the password, I got error like:Code:Access deniedUsing keyboard-interactive authentication.Note: I use putty to connect to the linux.

View 6 Replies View Related

General :: Can't Login As User In Fedora 14

Feb 28, 2011

I installed Fedora 14 on a Windows 7 64 bit machine. I forgot my password to access the fedora operating system. Pls, is there a workaround?

View 1 Replies View Related

General :: Find User Not Login?

Jun 3, 2010

In my system , there are 800 users in it , can advise if I want to find the user(s) who do not have login to the sytem over 180 days ( in the past 180days ) , what is the best way ? thx

View 4 Replies View Related

General :: Red Hat 5 - Login - Asking Me For A User Name At The Terminal

Oct 28, 2010

I am using red hat 5. It is asking me for a user name at the terminal. I do not understand what it is asking of me. A user name was never established during installation of the program. it did ask for a root password during installation which i provided. At the terminal i did try typing "root" for the log in and the actual root password for the password. It gave me administrative access.

However, i don't know the correct command that will take me to the desktop. For windows i simply typed in win or exit to go to the main windows desktop. Linux is foreign to me... can anyone help? I would be greatful for the advice. I am a windows junky from way back.

View 6 Replies View Related

General :: Login To User Using Script

Mar 20, 2011

I am trying to write a script. The purpose of the script is to login to perticular user and execute some commands. #/bin/bash su tom -c "df -h"..When I am running this script as root, it is not asking me any password.but I want to run this script as normal user. When I am running this script as normal user it is asking me password for user tom.I want to provide password in script only.

View 1 Replies View Related

General :: Restrict User Login

May 26, 2011

I use Rh server , can advise if I want to restrict the root user can not directly login to the system ( eg. ssh -l root IP_address" , what can i do ?

View 5 Replies View Related

General :: Allow A Login Script For One User In Fedora?

Mar 28, 2010

How do I allow a login script for one user in fedora? ~/.initrc doesn't seem to work, and I tried adding an executable to /etc/init.d but that's for all users (and it didnt work either anyway).

View 2 Replies View Related

General :: Check Whether A User Has Login Permissions?

Jul 12, 2010

I want to make sure that the user www-data cannot be used to login on my system (Ubuntu Lucid). How can I find out? - is there a command I can run against this user? (traditionally run by Apache daemon)

View 3 Replies View Related

General :: Can Only Login To Single User Mode

Mar 22, 2010

I'm running debian lenny. Suddenly when I rebooted my system I was unable to login. I type root and the password and it tells me the login is incorrect.If I boot into single user mode, it accepts the password just fine. Looking in the /etc/shadow file, it appears to be fine as well.Running passwd to set a new password sets a new password just fine, i can login to single user mode with the new password, however, I cannot login at a higher runlevel with the password.

If I delete a password in the /etc/shadow file, then try to login as that user, it simply says "Login Incorrect" without even asking for a password.

View 14 Replies View Related

General :: Assigning A User A Non-interactive Login?

Apr 16, 2010

I am trying to assign a user account on RHEL5 Server a non-interactive login but I am not sure if this is the correct command: useradd useraccount -s /sbin/nologinAfter I issue this command, I try to log in with this account and it says the "Administrator has disabled this account" when I enter the password. Does any one know if the command above is correct?

View 2 Replies View Related

General :: Enable Login Password For User?

Aug 31, 2009

Ubuntu 8.10 does not ask for a password to login. I have only one user set up. I have set the user password from System > Administration > Users & Groups. Still does not ask for password > logs in straight away.

View 2 Replies View Related

General :: Gnome Goes Blank After Login For A Particular User?

Apr 10, 2010

My gnome screen goes blank for a particular user,for the rest of the user i'm able to login in the gnome GUI,it's was working fine till now.

View 5 Replies View Related

General :: Disallow User To Login As Root?

Oct 12, 2009

I want to disallow root login on my RHEL Machine?

View 14 Replies View Related

General :: Login As User Into LDAP Client?

Jan 26, 2010

I have 389-DS ( Fedora DS) setup on CentOS 5.3 and working fine. I configured LDAP Client and want to login as user created under fedora DS Client. From Client Machine, I can easily see:
Code:
[root@fedoraDS-Client ~]# id ajrain
uid=569(ajrain) gid=569 groups=569 context=root:
system_r:unconfined_t:SystemLow-SystemHigh

This is User from LDAP Server (fedora DS Server) which is showing in Client Machine. So It means its retreiving value from Server. Correct? Now When I am trying to login , it says "Server unexpectedly closed network Connection". When I supplied user password:
Code:
login as: ajrain
ajrain@fedoraDS-Client's password:

The File /var/log/secure says:
Code:
Jan 27 02:39:27 localhost sshd[3996]: pam_unix(sshd:auth):
authentication failure; logname= uid=0 euid=0
tty=ssh ruser= rhost=10.210.53.104 user=ajrain
Jan 27 02:39:27 localhost sshd[3996]: Failed password for ajrain from 10.210.53.
104 port 1241 ssh2
Jan 27 02:39:27 localhost sshd[3997]: fatal: Access denied for user ajrain by PAM account configuration

View 1 Replies View Related

General :: Passwordless Login In Using Ssh Via Non Root User?

Feb 12, 2010

I have been trying to establish a connection between two pcs via the ssh channel. I successfully made the connection as a root user, but when i tried as a non root user i had to type in the password the make contact with the other pc. how exactly does this passwordless login actually work?

View 3 Replies View Related

General :: Unable To Login As Root Or User

Jan 29, 2011

I am trying to someone get to their records on a CentOS 5 box and the username/passwords they have given me are not being recognized.

View 11 Replies View Related

General :: A Script For Deleting User , If He Has No Login Shell?

Nov 25, 2010

I want to create a script to delete user if he has no login shell.

View 4 Replies View Related

General :: Display User's Last Login Information When Connected Through FTP?

Apr 11, 2011

I want the last login information whenever I log in through FTP.

This is possible for normal console and SSH logins by configuring in /etc/login.defs file. But I am not able to view the last login information when FTP is used.

View 5 Replies View Related

General :: Script Which Will Login To Particular User And Execute Some Commands?

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

General :: What Would Be Benefits If Mysql User Has Not Login Permission?

Jul 21, 2011

Since I have never had the need to create one, the first time I encounterd it I asked myself: what is it?I was looking for MySql installation guidelines on mysql.com, when, reading them, I found this command:shell> useradd -r -g mysql mysql.Now, I read the man page of useradd looking for explanation about -r option, but I didn't found it useful.It just says that -r options creates a System account, but it doesn't say anything else.So my question is: what is a system account? Few lines under the command it says:"Because the user is required only for ownership purposes, not login purposes, the useradd command uses the -r option to create a user that does not have login permissions to your server host."What would be the benefits if mysql user has not login permission?

View 6 Replies View Related

General :: Network Login Brings In User Environment To Any Machine

Mar 3, 2010

In this article about Sun, the author talks about how using a Sun network meant that you could log onto any computer on a network and all of your personal tools and settings would be there. Is it possible to set up something like that with a Windows network? How about Linux?

View 2 Replies View Related

General :: Permissions - Way To Update The User/group Properties Without Having To Login Again?

Mar 22, 2010

After I edit /etc/group and I add a user to groups it didn't belong to, the user will not be able to use it's newly acquired privileges unless it starts a new session. Is there a command to refresh user/group properties in an ongoing session?

View 2 Replies View Related

General :: Can't Login Due To Created User Without Creating A Home Directory?

Apr 29, 2010

This may be a rookie mistake, but I created a user (new user) in Linux on a Ubuntu system and didn't actually create the home directory for this user. Now, when I log in, it says there are problems... If I delete the path home/<new user> and try to log in the system tells me I can use root as home directory but I will likely experience problems, and then it won't let me log in. What is the best way to create this directory with the appropriate permissions? Should I just create another user and delete this one?

View 1 Replies View Related

General :: A Script That Will Display Only The Last Login Of Each User With The Date And Year?

Apr 20, 2010

This is on an old machine that is running Solaris 7. I know that I can run the command script 'last' to get a list of who has logged in. When I do that I get a very long list of lines like:

username pts/4 100.32.11.123 Wed Dec 6 18:30 - 18:40 (00:09)

I see that the year is not posted. I have about 11 years worth of logins where users have logged in multiple times over several years.

So, here is what I need: I only need the date of the very last time a person logged in. I also need the year of that last login.

script that will do this? Something with output like

username1 pts/4 100.32.11.123 Wed Dec 6 2005 18:30 - 18:40 (00:09)
username2 pts/4 110.33.11.18 Tue Apr 20 2009 8:30 - 9:30 (01:00)
username3 pts/4 10.32.11.18 Mon Jun 12 2008 1:30 - 2:40 (01:10)
username4 pts/4 110.33.12.19 Sat Oct 10 2001 00:12 - 00:13 (00:01)
...

View 4 Replies View Related

General :: Shell Script To Automatically Login Through Ssh And Create User?

Oct 20, 2010

I was trying to create a shell script which will automatically login to the server 192.168.1.7 and checks if a user exists there or not, if it doesn't exist then it should create the user.I have very little idea about shell scriptThis is what I tried:Quote:

#!/bin/bash
pass="sacharje"
ssh 192.168.1.7

Now, how to pass that password automatically to the ssh when it asks for the password? (I can't use public key authentication here)

View 10 Replies View Related

General :: Alert Message When A Specific User Is Login To The System?

Nov 25, 2009

Can advise if I want to have a alert message when a specific user is login to the system , what can I do ? that mean if a specific is login to system then send me a alert message ( by any way ) to inform me the user is login , what is the method ?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved