What is the equivalent of read -r (solaris command ) in Linux ? read utility in solaris will read a single line from standard input and -r option is used not to treat backslash () as an escape character .
I am able to build a shared library under solaris with /usr/local/bin/g++ -G -o output.so file1.o file2.o file3.o. How do I build the shared library under linux using the same files? I have tried to use the same command /usr/local/bin/g++ -g -o but I got some undefined references, even if those references are defined in one of the object files.
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 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?
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 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?
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?
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 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.
I am developing palm in my ubuntu 10.04 . unfortunately i have install a empty palm file. now i can not remove it or remove the virtual box. because it gives this error
I try to install IPsec-Tools on Slackware 13, but I get an configure error: configure: error: Security Context requested, bu no selinux support! Aborting. I'm linux newbie and I'm following a slackware-basics tutorial, I did as in the tutorial, but the configure stops and aborts:
[Code]... What can I do? How can I enable/install selinux support? I guess it's related with AH and ESP protocols, which in my kernel are defined as modules (m). If so, how can I enable them?
I have Preinstalled Xp on my system.I have installed Solaris in one of my unused partition.when i installed the fedora 12 i didnot get the options for solaris booting though i have used different partition for solaris and fedora.How can i get the options for solaris or else i have made a mistake in installing fedora. In either case please guide me though how irritating it may be to guide a newbie.Also if i want to use Archlinux with all three above how can i do it.
I am new to sudo and want to install sudo and configure it. I have downloaded TCMsudo-1.7.4p4-i386.pkg.gz package but the installation steps are as below.
bash> ./configure bash> make bash> make install
But all i see the .PKG file and no configure and install files. Are there a new steps that i need to use with .PKG files ? Also once installed how do i configure it.
i need to get file from a remote solaris,but i can't telnet or ftp it to directly i have to go via another solaris server ,it goes like this windowsbox-proxyserver-mainserver
i have a linux mechine, in that i want to install solaris throug xen virtualization. (solaris content is in CD) while i am doing this there is an option "local install media" in installation method it was not highlighting so i can't install this. then what can i do now.
I am currently trying to use Kommander editor to create a GUI form to call the bash scripts that i have created. However, when i try to run it on Solaris 10, it says "Failed to execute child process kmdr-editor".
first of all, i will be glad if i can get prebuild toolchain for target=arm1176jzf-s on host= sparc-sun-solaris2.10. ( i hav browsed but can't find prebuild one) so, i tried to establish by myself i hav established binutils first, but while trying to configure& build gcc(gcc4.4.0) , i was interrupted with following error.. error message: this error has come while building boot strap gcc for cross complier tools chain
checking build system type... sparc-sun-solaris2.10 checking host system type... arm-unknown-linux-gnu checking target system
My VM image is Linux Centos 5.2,I need to download some software from the internet to run on my VM's OS. The available download is for Solaris x64. Is this compatible with my OS?
I was wondering if in RHEL5_3 if you can add netgroups to your kickstart file like when you are jumpstarting Solaris boxes? Trying to see if I can have a group of machines use a certain DHCP or DNS server during my kickstart.