General :: Find User Not Login?
Jun 3, 2010In 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 RepliesIn 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 RepliesI'm looking for a script that can do two things: (1) determine the shortname of the user with the largest account in /Users and (2) look up their full/long name. I'm going to use this script to help identify who the user on a computer and while I know that's possible that a sometime-user may have a larger account than the normal-user on any given computer, the results of a script should be sufficient in most cases for my needs.I'm not sure the best way to around this. I know that can use "du -m -d1 /Users" as root:
root on torchwood
[ ~ ]$ du -m -d1 /Users
157 /Users/admin
[code]...
How to find files owned by a user who does not have an interactive shell on the system and copy them to a different location. For Eg : Files owned by UID : 86 in /sbin/nologin needs to be located.
View 4 Replies View RelatedI 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.
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 RelatedI 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 RelatedI 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.
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 RelatedI 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 RelatedTalk 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!
i want to know who created the user(this user was created 1yr ago).Is there any process or command to know who created the user and which date he was created
View 1 Replies View Relatedi have tried what user name and password i can think of but still no answer. i can get into root and was hoping that i could find it in there. But no luck so far
View 2 Replies View RelatedI have installed a Clearos box (believe this is based on redhat/centos)in our office as this is an easy setup to try and replace a windows box. We can add our windows pc so it as it acts like a domain controller.I would like to get a couple of Linux machine on the network such as Mint, Debian Lenny or ubuntu. The problem here is I need to find a way of getting these pc to as such login to the domain so they authenticating with the clearos box to login. Is there an easy way of doing this.
View 1 Replies View RelatedHow 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 RelatedI 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 RelatedI'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.
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 RelatedUbuntu 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 RelatedMy 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 RelatedI want to disallow root login on my RHEL Machine?
View 14 Replies View RelatedI 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
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 RelatedI 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 RelatedI am working on a program lets say programX which must run when the computer is not in use. I want to develop a monitoring program to monitor if there is user activity on the system so that it can stop the programX from running when the user is using the system and start programX when there is no user activity. Is there a way to determine this in linux?
View 4 Replies View Relatedhow do i find the files made by a user on the hole disk?
View 8 Replies View RelatedI want to create a script to delete user if he has no login shell.
View 4 Replies View RelatedI 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.
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]...
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 Relatedhow to find the only particular user (usage) of memory information
View 6 Replies View Related