General :: Bash - What Is The Equivalent Of Solaris's Passwd Command
Jul 29, 2010What is the equivalent of Solaris's passwd command in Linux?
View 2 RepliesWhat is the equivalent of Solaris's passwd command in Linux?
View 2 Repliesi am executing the passwd command on a solaris 10 OS and every time its aborting (as shown below). how to troubleshoot this..
root@osssvr-1 # passwd ftp
New Password:
Re-enter new Password:
Abort
What is the equivalent of Solaris's cu command in Linux?
View 2 Replies View RelatedWhat 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 .
View 4 Replies View Relatedthe solaris' equivalant commands of prstat & ptree in Linux flavour.
View 1 Replies View RelatedThis is actually a question regarding RHEL 5.5. rather than CentOS but I understand they are very similar.With Solaris we use SMF to ensure that certain Java process are continuously running.If SMF notices that Java process has stopped it will run a start script, if we want to stop it, it will run a stop script.What could be use in RHEL?
View 2 Replies View RelatedI have a Cygwin script that connects to a web site with the bash command "curl". Phasing out Windows, I need to port everything to Linux. Ubuntu bash doesn't recognize "curl". There has got to be an equivalent.What would it be? Beneath the dashed line the top of the cygwin man page. And while on the topic of the bash commands available on Ubuntu, where could I find an exhaustive list?
[Code]...
can anyone explain what is the use of swap -a command in solaris ? is there any equivalent command for swap in Linux ?
View 6 Replies View RelatedWhat is the equivalent for inetadm -M command in Linux ?
-M option gives as below
-M {name=value}...
Change the values of the specified inetd default properties. Properties are specified as whitespace-separated
name=value pairs.
whether service command in Linux can achieve this . if so what option I need to give with service to emulate inetadm -M command in solaris?
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 -
View 2 Replies View RelatedI 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?
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies View Relatedwhen 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.
csh hostname 109 % find . -name passwd
find: ./lvm/backup: Permission denied
find: ./lvm/archive: Permission denied
[code]....
Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?
View 4 Replies View RelatedWe often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->
Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...
I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".
View 7 Replies View Relatedtitle's confusing, but can't edit it. I may not know what I'm talking about, but does anyone want to have a go at translating this suggestion I dug up into one that Mint 7 would act on?
sudo insmod /lib/modules/`uname -r`/kernel/drivers/usb/serial/usbs erial.ko vendor=0x16d8 product=0x6280
Object is to get drivers for telstra turbo which isnt recognised at all yet.
I write a script to read a file which is something like a pipe (or) queue , which shows the running status.In normal case, if i open this file with cat command, i have to use ctrl+c to exit this . What command shall i use to do the same inside a shell script ? I have tried ^C in my script , but it does not exit the process.
View 6 Replies View RelatedI create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END
[code]...
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
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.
View 5 Replies View RelatedPossible Duplicate: What does this cryptic bash command mean? Why this command crashes Linux? :(){ :|:& };:
View 4 Replies View RelatedWhat's the command to delete bash command history?
View 4 Replies View RelatedI 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?
View 7 Replies View Relatedstrings in Unix and Linux extracts printable strings from a binary file. Is there a version of this for Windows? I couldn't find one.
View 2 Replies View RelatedIs there an equivalent of XFCE "verve command line utility" for Ubuntu Maverick?
View 3 Replies View RelatedI 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?
View 4 Replies View RelatedJust 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:
View 6 Replies View RelatedI have a DBA that needs to be able to do a "setgroups" on Linux. He had the functionality on AIX but now we're migrating to red hat. In-case you don't know the setgroups command in AIX; it allows users to drop groups that they belong to for that login session. He wants to be able to do this so that he can drops groups for testing. Does anyone know of any equivalent commands to setgroups or another way of dropping groups for that session and not permanently?
View 1 Replies View Related