OpenSUSE Install :: Passwd -S Output \ Ran The Command But Nothing About The Algorithm Is Returned?
Mar 23, 2010
I read that passwd -S spits out informationabout a user's password including the encryption algorithm used to encrypt the password in /etc/shadow. I ran the command but nothing about the algorithm is returned. Is this a quirk in openSUSE?On another note, I've determined through other means that I've selected blowfishryption as evidenced by the $2blah$2blahblah format of the /etc/shadow entry. However, if I look at /etc/default/passwd it lists CRYPT=md5. If I'm using blowfish why would that variable be set to md5. onversely, if it is set to md5 why is the blowfish algorithm being invoked?
but I wantto set up a new system with openSUSE 11.3 The system should be fully encrypted. I want to use the best possible encryption.1 I am not sure, AES 256 xts-plain is the most secure single algorithm, isn't it?2 Is it possible to use a cipher? 3 Which algorithm does the yast-installer use when I encrypt the whole system with a logical volume group?I have read this two articles:a) Encrypted Root File System - openSUSEb) openSUSE Lizards encrypted root file system on LVMBut I have to say that these routines are a little bit complicated in my eyes.Isnt there a easier way to encrypt the whole OS?I know there is a 64bit live cd available. 4 So the first description (a) is obsolete?5 How can I set up a (fully encrypted) system without using LVM?The hard disk layout should be done in this way:
Code: My First Line My Second Line ::::While Loop::: Program:
Code: while read line do echo "$line" done < Filename.txt output:
Code: My First Line My Second Line
Is it possible to use for loop to get the same output. I have tried executing below code but I get every word of my file being displayed one below above.Is there any way I can modify the for loop code to get the output returned by while loop?
:::For Loop::: Program:
Code: for line in $(cat Filename.txt) do echo $line done output:
I'm trying to setup a LDAP server and it seems to have all gone pretty well. I set it so that users that type their passwords wrong 5 times are locked out for 20 minutes. That works fine, but if I want to log on as an admin and unlock their account before that 20 minutes is up it isn't working.Normally, (authenticating locally)
Code:
passwd -u blank888
works and does what I want it to. If I want passwd to recognize the LDAP server I use
When I run that, it always asks for the admin password like it should, but then will only work on some accounts and not others. Mainly I've seen that it only works on accounts that already had local accounts before connecting to the LDAP server.If I run a passwd -Sa command I will get something like:
blank888 already had an account on the machine, but also had a LDAP account along with test. So blank888 is showing twice because he has both LDAP and local accounts, whereas test only has a LDAP account. So now if they both get locked out passwd -D $adminDN -u $account will work for blank888 but not test. Then the results of a passwd -Sa would be:
I need to be able to unlock test using passwd. The LDAP server is running 11.2, and the hosts are running various Linux distros, and XP.Can anything think of a way to fix this without removing the LDAP server, adding local accounts for everyone, and then putting the LDAP server back on?
Does anybody know if with OpenSUSE 11.2 something changed in the way the users are logged in to X? I am running an application which uses notify-send command to send pop ups and it is not working properly, but it works in OpenSUSE 11.1, 11.0, 10.x, The same goes for SLED and SLES, all versions.This is what I have found so far.Before the 'who' output was
Code: $ foo@bar:~/Desktop> who foo :0 2010-01-26 14:40
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
I have Red Hat version 4 I was trying to change the root password with the passwd command.I get the error passwd: PAM [dlerror: /lib64/security/sufficient: cannot open shared object file: No such file or directory] I have change the password before.
I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?
Just curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel 2.6.27-11, finger version 'bsd-finger-0.17' compiled from source (available at http://us.archive.ubuntu.com/ubuntu/.../b/bsd-finger/). To the best of my knowledge, this is also the version of finger that ships with Ubuntu 8.10.User jpublic's entry from /etc/passwd: Code:jpublic:x:1000:1000:John,101,9999,555-1234:/home/jpublic:/bin/bashResult of "finger" with no arguments:
I am bulding my own image based on 2.6.32 kernel, I wish to add a guest user:
In a script thats invoked by the makefile, I use 'useradd' command & this updates the shadow, passwd files under /etc on the host, is it possible to tell the command to create the shadow / password under some other folder on the host? may be /tmp?
I have a problem with YaST Partitioner. When I launch it, a window opens, a dialog (to confirm that I know what I am doing) pop-ups, I choose "Yes", the application starts to initialize, and after 0.5-1s the window is closed without any error message. Does anybody know how to at least find out what is wrong? .. or how to launch it from command line to get some output?
when loggin as a normal user and search for a file passwd under /etc. i get few errors with permission denied.how to ignore this permission denied errors.
I 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.
OpenSuSE 11.3 (but this is not likely a distro specific issue)Kernel 2.6.34.7, but likely applies to a number of previousAm close to launching a more extensive webpage describing in detail why and how this configuration is important, but I'm missing up to date information on how to persist the config. By default, changing the TCP Congestion Control algorithm only modifies the current system session. Docs I've read recommend that the command resetting the algorithm be written to Code:/etc/rc.d/rc.dAm confused with all the different config files, but I suspect either an existing file should be modified or an additional file should be modified in
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc
I want to use the output of a previous command as a parameter to another command. For example: to know where "nice" is stored i typed: which nice output: /usr/bin/nice now the second command i typed is: ls -l /usr/bin/nice Is there a way to have a single command like: ls -l which nice ?
I'm in debian trying to install passwd. It's giving me a heck of a time with shadowconfig, because that program tells me what's wrong but doesn't fix it for me. Basically it is saying that there are a lot of entries missing from my shadow file. So how do I add them? I don't want to have to do it all by hand.
A fresh install of 11.3 64 KDE 4.4 some packman stuff installed. Some broken as no current 64 bit libs or funky packman situation currently. CD audio is choppy. No mp3 playback though support is installed. [URL]....
i have just updated to openSuSE 11.4 [64 bit]; rkhunter is giving these Warnings :
Warning: User 'rtkit' has been added to the passwd file. Warning: User 'pulse' has been added to the passwd file. Warning: User 'statd' has been added to the passwd file. Warning: Changes found in the group file for group 'audio': User 'pulse' has been added to the group Warning: Group 'rtkit' has been added to the group file. Warning: Group 'pulse' has been added to the group file. Warning: Group 'pulse-access' has been added to the group file. Warning: Suspicious file types found in /dev: /dev/shm/initrd_exports.sh: ASCII text Warning: Hidden directory found: /dev/.sysconfig Warning: Hidden directory found: /dev/.mount
i'm trying to follow this guide: [URL] (THE GUIDE AT THE BOTTOM OF THE COMMENTS, NOT THE GUIDE IN THE OP) EDIT: Managed to install the GUI XHydra, but when I tested it out I get this error:
I am trying to grep multiple numbers from file, grep does have the -f option for that.
Code: grep -f <`seq 500 520` /etc/passwd I know this could be done with
Code: for i in `seq 500 520`; do grep "$i" /etc/passwd; done But my question is fare more behind this example. It is possible to redirect one command output which will be treat as a content of file for another command ?
I want to scan a particular directory recursively and run a particular command with each file as input. For this I am using "find /dir/path". I dont want to write any long script containing loop on the output of "find". I want a single command which will allow me to run a command on each file of the "find" command output.
*edit Nevermind I think I found it on YAST * I have been having trouble finding the "make command":If 'make' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf makeI need to install 'make', 'g++', and all other building tools for suse.