Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Server Guide > Security > User Management states that there is a default minimum password length for Ubuntu:
Say the password is to be modified by the user using passwd. Is there a command for displaying the current password policies for a user (such as the chage command displays the password expiration information for a specific user)?
This is rather than examining various places that control the policy and interpreting them since the process could contain errors. A command that reports the composed policy would be used to check the policy setting steps.
I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
I am not sure if anyone here has any experience with Kaspersky Anti-Virus for Linux but my problem relates to that product.
I am running 11.2 openSUSE and after installing the latest version of the Kaspersky product in question, I went ahead and restarted the machine. At the logon screen, when clicking my user name to log in, the password box would not display.
I tried clicking on the other option and trying it that way and after putting my name in the username box, the machine just started thinking and thinking and nothing happens.
I also tried logging in through terminal service but it would not recognize my password to be correct.
I really need to log into my username since I have important files on that Linux partition. I tried mounting this partition in Windows since I have a dual boot setup but I can only view the folders of the partition and not the contents.
I've checked gdmsetup and there isn't anything that I can see that keeps my general users from getting in remotely. I can get the Gnome to login as root but not as a user. SSH from PuTTY works fine for all users. The error I get actually says that the username or password is incorrect - checked using SSH and it is fine.
After Days of trying to install Nagios, I eventually got everything working fine ! The only problem now is I get the following error message on the nagios web interface: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file."
After installing Slackware 13.1, I find that I am getting the message:scripts should use an informative user-agent string with contact informationwhen I access certain websites. Wiki pages, for example. This happens only with Konqueror. Any ideas as to what I might change to gain access to content,
Is there a way I can send cookies/site login information to computers within my internal network? i.e push them through in packet headers? Not FTP. For example if I want to send cookies with my shopping cart or login information from one computer to another within my network how can I accomplish this?
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.
I am connected to a network via SHH. Now, i know how i can see which users are logged on as well, but how can i see how many times each user has connected? this refering to users that have logged on at least once
I need to write a script to report useful information on disk utilization for each user's home directory.For each directory I need to show: 1. the long listing of that directory entry (but not the files in the directory), so that I can see the rights and owners of the directory.2. The amount of disk used by that directory, in human-readable format, including subdirectories. I need to have two lines for each user one after the other. For example:
/home/user1 directory info /home/user1 disk usage /home/user2 directory info /home/user2 disk usage
The script will assume that all users, except user root, have their home directories in the /home directory (no need to do anything with the /etc/passwd file). And if the administrator adds or removes users, the script should still work correctly (so the script shows the information for all current users).
Here's what I do know. The command "ls -ld /home/user's_name" will give me the info I need for #1. And the command "du -hs" will give me the info I need for #2. What I don't know is how to grab each individual directory in order to apply the above commands to each of them in order. ???
Is there a Linux application which can display motherboard and CPU sensor information and which also satisfies one other, absolutely key, requirement: It should be directly usable, after installation, by a reasonably intelligent computer application user. That is, it does NOT require deep internal knowledge of specific hardware or obscure system software customisation. It does not require hours, days or weeks of reading of documentation which is so crafted as to be the antithesis of end-user guides. It must be capable of being invoked easily.
This eliminates all software that the Ubuntu Software Centre lists when performing a search with the term 'sensors', with the exception of xsensors. All other software listed with this search installs without error but is then totally invisible to me - not even listed under 'installed software'. I am aware a key requirement to be a Linux developer is an advanced commitment to play games of 'I bet I can make my software harder to use than yours', but I'm too old for that now. I don't have a need to prove how technically capable I am.
Xsensors installs and tells me where it can be found, but is inadequate as it lists only 2 CPU core temperature readings. It does not give me any indication of motherboard temperature or fan speeds. That's all I want to do - get a simple snapshot of sensor values without having to resort to entering BIOS setup. It's the sort of information that is so easily available using the ASUS-supplied 'asus-probe' software under Windows. Is it possible, given the key requirement previously mentioned?
I have been playing with Linux consistently for a couple of months now. I've been a Windows sys. admin for most of my career, so Linux is pretty strange for me. I started off with computers way back with the TRS-80 and then eventually moved to DOS systems. So the command line interface (CLI) of Linux was not completely alien to me, yet my lack of knowledge on the syntax and commands is holding me back. I have come a long way.
Recently I needed to play around with some DNS settings and one of the commands I used frequently in Windows, IPCONFIG /ALL, doesn't have a direct relative that displayed the same information. If you run ifconfig, it doesn't return the DNS servers you are currently using. You have to run a separate command to retrieve that information.
What I have done is created a super simple script that displays the network information for my primary LAN adapter, which is ETH0 in my case. After that, it shows the domain and name server information. Then it pauses for 20 seconds before closing the terminal window.
Here are the contents of the script file:
ifconfig -a eth0 cat /etc/resolv.conf sleep 20
I simply right-clicked the Linux desktop, choose Create Document, Empty File. I named it something like Network Info. Then I opened it and put this information in it, saved it, and closed it. I renamed the file and added a .sh extension to the end which makes it into a script file. Next, right-click the script and go to properties. In the Permissions tab, check the box next to Execute: Allow executing file as a program. Then click close.
To run the script, just double-click the icon and then click Run In Terminal at the prompt. The terminal window opens, displays the information, and exits after 20 seconds. If you need it longer than that or need a different interface (such as wlan0 for your wireless), you can change or even add that in.
This was all done in Ubuntu 10.10. I know it is very simple and very straight forward and welcome thoughts and feedback about simpler ways to do this. For me, the old-school Windows admin, it's a baby step in the right direction. I am really enjoying learning the Linux OS.
I need to display a message before any login on a Linux box, either locally and for remote login via SSH. How can I achieve this? "issue" and "Banner" are the two concepts I need to use to provide a message for every user before they log into the system.
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
I hope this is not a totally ridiculous question. I use putty often to remotely connect to my laptop at home. I recently learned about the Linux framebuffer, and was curious if there was a tool like putty that would let me remotely connect to my laptop but use the /dev/fb0 device for forwarding graphics. Sort of like a vnc or X11 forwarding, but instead of using X, gdm, kdm etc. we use the framebuffer.
I am currently thinking about buying a new computer; it is supposed to be a server kind of thing, at least most of the time. So basic HTTP, SQL I want it to run all day 24/7... but after looking for a good PC I got a idea... since any new PC supports HD Video and all I thought why not add something like Boxee to my little server... but then I thought it don't have to run Boxee all the time and the graphical user interface only needs to run when Boxee wants to run or dont I not need the XServer to run and display Boxee? Anyways Boxee should only lunch when a Display aka HD TV is connected and also turned on.
So my question is that even possible? To lunch a script if a TV is turned on and than start the XServer and Boxee (or some other Media Browser) with it or if not is there a workaround like some key combination or signal (power button on a remote control) that can lunch that script? And is there a script that will do this?
Im trying to compare two files and I only want to display the user names that are in the first file and not the second.
So I have one file named final.txt (which contains every user name and only the user names in a list no other information)
Then I have another file Over1.txt (which only contains certain users that have different permissions This file is also setup differently with the user name and some information about the user after the user name.
I need a way to compare final.txt to over1.txt so that I will only display the names that are in final.txt but not Over1.txt
Ive tried using diff and comm but just cant seem to get it two work correctly. Im not sure if im missing a option or what.
Running SunGard Banner software on RHEL 4.2 x86-32 bit Linux server Oracle Application 10.1.2.3 samba enabled. Users run processes/reports that are logged in a daily log file. In our daily job submission log files the user password shows up as clear text.The password shows up as $PSWD (sample from the logfile):