General :: Find The Ftp Logins In System?
Aug 26, 2010we are using "last" command to find the last logins in our system.. how to find the ftp logins in our system?
View 1 Replieswe are using "last" command to find the last logins in our system.. how to find the ftp logins in our system?
View 1 RepliesI just installed Squeeze on an older PC. Installation seemed to go fine. But when it booted up on the installed system for the first time, I could not login - username/password failure. I tried every possible typing error and CAP LOCK error I could have made - still nothing.
I brought up a console window and tried logging in as root - same problem.
I booted into single user mode and entered passwd command to set new root password - I got a SYSTEM ERROR message from the passwd command.
I booted to a Live CD, went to /etc/shadow and deleted the encrypted password. Rebooted on the hard drive, went to console window and logged in as root, with no password required. So far so good. I entered passwd command to set new password and got the same SYSTEM ERROR message.
The machine seems fine when running on the Live CD, and the install seemed to go fine.
there are 2 spots where I see a range from instantaneous to multi-second delays.Between issuing the ssh command and getting a login prompt and between entering the passphrase and having the shell load.Now, specifically I'm looking at ssh details only here. Obviously network latency, speed of the hardware and OSes involved, complex login scripts, etc can cause delays. For context I ssh to a vast multitude of linux distributions and some Solaris hosts using mostly Ubuntu, CentOS, and MacOS X as my client systems. Almost all of the time, the ssh server configuration is unchanged from the OS's default settings.
What ssh server configurations should I be interested in? Are there OS/kernel parameters that can be tuned? Login shell tricks? Etc?
is it possible to authenticate users logins by a database (postgres, mysql)?for instance: -user types username, pasword, at login screen -OS then connects to server with database and checks if the user is valid. if so, is it feasible to add a time lock function for each user? in the sql, postgres table ? for instance user sandra can only log onto the computer for 1hr at 5pm
View 7 Replies View Relatedi have installed ubuntu 11.04 linux by wubi (windows 7 ultimate is the other operating system). after some logins it started disconnect from internet.
View 11 Replies View RelatedI just got Fedora 12, and I used su root to change the bin ownership to my primary developer account. For some reason, though, all subsequent attempts to log in as root have had authentication failure, be it through su or through the startup login screen. This does NOT occur for adminstrator tools such as Groups and Users.
View 8 Replies View RelatedI've written a shell script that among other things, restarts network services. As such, I'd like to keep those who are remoting in via putty, etc. from executing the script. Is there a way to detect this and restrict running the script (by adding additional coding in the script) that disallows running it from unless you are logged in directly to the machine? It's written in bash.
View 1 Replies View RelatedI'm trying to find a software which could map sftp/scp services to a windows drive letter. I know there are quite a bunch of those available, but i haven't found a single one which could run with SYSTEM or Netservice privileges or have decent command line options so i could elevate the program myself. The mapped drive should be available for other services running on the same server.
Most of the programs (sftp netdrive, expandrive, etc) have only option to startautomatically only when someone logs in. Because of that they are useless to me.Their inability to handle non-interactive starts is a bummer too. FTP->SFTP wrappers don't count as solution despite of integrated windows support for ftp drives. The way they are handled in windows makes ftp mapping unusable without some external ftp drive mapper software.
I'm using Ubuntu 10.04 and i can't find inittab on my system? Where did it go? Has Ubuntu removed this file? How can i find out about runlevels now?
View 4 Replies View RelatedHow to find in linux(fedora12) if dhcp is running on network?
View 3 Replies View RelatedPerhaps it is not proper to post on this forum. Sorry for any inconvenience.
I have finally make up my mind to use Linux (Ubuntu 10.04) as the SOLE operating system on my notebook. The last obstacle is that where to find proper drivers for my devices? Such as code...
Could someone give me some advices on where to find these drivers?
How to find file by content on linux by command. Example: i want find file contain word "helo" on my computer (OS: LINUX)
View 4 Replies View RelatedI have a Centos 5 machine, and I've been attempting to install GNOME and the like. However, quite a large number of packages do NOT install because of missing dependencies, all of which seem to trace back to 'system-logos'. Unfortunately, I can find no trace of this package in the 'yum list available' output. Google came up with nothing. If you can help, it would be MUCH appreciated! BTW, I've also tried 'fedora-logos' and 'linux-logos' without success.
View 1 Replies View Relatedwhich command to use to find out system configuration
View 5 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 RelatedUsed following command to find out the top 10 big files in the system But it is having its own limitations as it consider files and directories both.
Code:
I would like to get the following information.
1)top 10 big files.
2)top 10 big directories.
File size with human readable output.
As executing
Code:
But when i add -h option for human readable file size its giving me wrong output.
Code:
I just upgraded my old Kubuntu 8.(something)to the new 10.04
After upgrading, i cant find the system menu(The one usualy located down
to the left)
Also having a problem with my desktop resolution, its maxed at 800x640
according to xrandr, tried adding some lines as SU in command line with
xrandr, only get the message, cant find vga1.
My computer is a sony vaio FZ-260e
Its nvidia 8400gt(m) display adapter, and according to adept the
Nvidia drivers should be installed.
Find external and internal devices attached to a system in Linux
How can i find through terminal that which devices are external and which are internal.
By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc
By internal i mean devices attached internally. For Example, SATA Harddisk etc.
Can anyone tell me the command to find Dell system motherboard BIOS for a linux machine ?
i tried find dmidecode but that does not fetch me appropriate output.
How to find continuously growing files in the file system?
View 11 Replies View RelatedI wrote a small script that gets me the list of enabled system accounts in my system.
I figure '*' & '!' (in field #2 of /etc/shadow) mean that the account is disabled or they cannot login, hence 'safe-to-ignore'
Code:
IFS=$'
'
for i in `cat /etc/passwd` #get each line in the passwd file
do
var1=`echo $i | cut -d':' -f3` #get user ID field
if [ $var1 -lt 500 ] && [ $var1 -gt 0 ] #compare to extract relevant IDs
[Code].....
BTW i figure the following command gives me the list of system users, but i am not able to find a way to process it further... :-(
Code:
awk -F":" '$3 >= 1 && $3 < 500 { print $1 }' /etc/passwd
We have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space. I contacted the Oracle team & they say that their RAC installation doesn't create any files in the / directory. This is the o/p of '/' directory file system:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-vol2 498M 382M 62M 88% /
Also, when I checked the file sizes, I found that the following files were taking more space:
/etc/selinux/targeted/modules/active/
-rw------ 1 root root 17M Nov1 base.linked
[code].....
I don't know what these files are doing there, when I did a cat and cheked, I found the files containing this data:
nf_tre--
stem_dbusd_var_run_t...and some stuff like this Unable to decide whether or not to remove these files. Also, is there any way to find out what files are taking more space and whether they can be deleted or not? in order to free up some space in the / direcoty. As there are 10 RACs that we've build, I got to do something to fix this for all of the 10 servers.
Found the below from RedHat Knowledgebase
The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.
One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:
echo 0 > /sys/block/hda/queue/iosched/slice_idle
We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.
Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?
View 2 Replies View RelatedI need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
I need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
I'm new to this and I'm sure I've just gone and done something silly. I used pendrivelinux.com's live usb creator to install ubantu 11.04 on my USB. I tried booting my laptop with this, and i get an error message saying "unable to find a medium containing live file system" and I cant get any further than that. The laptop I am using is a Dell XPS with an i7 processor and 6 gigs of memory.
View 6 Replies View RelatedWould someone be able to point me in the direction to find a list of update releases for Redhat Linux v5?
View 1 Replies View RelatedI am trying to upgrade from Fedora 12 to Fedora 13 using "Preupgrade" but it fails in the last part and tells me that the system cannot find the previous system (fedora 12). I have tried to do the upgrade several times and always the error is the same.
View 3 Replies View RelatedHow can i find through terminal that which devices are external and which are internal.
By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc.
By internal i mean devices attached internally. For Example, SATA Harddisk etc.