HP-UX: Created account with UID 0, tried to change password using passwd. Passwd prompted for the "old password" even though I was logged in as root. The man page for passwd explains why:
Superusers are not prompted for old passwords unless they are attempting to change the superuser's password in a trusted system.
5.18.2006
5.17.2006
UNIX Rosetta Stone
http://bhami.com/rosetta.html compare various Unix commands. If you don't know what Rosetta Stone means, look it up: http://www.answers.com/rosetta+stone&r=67
tags: unix comparision guide *nix tru64 aix hp-ux solaris irix linux freebsd openbsd netbsd sco differences matrix
tags: unix comparision guide *nix tru64 aix hp-ux solaris irix linux freebsd openbsd netbsd sco differences matrix
5.16.2006
job name not known error
In HP-UX when trying to suspend (CTRL-Z) a process/job or when running a job in the background i.e: sleep 30 & then running the jobs command, if you get message: <job name not known> then you'll need to defined the HISTFILE and HISTSIZE variables to fix the issue.
$ sleep 30 &
[1] 19870
$ jobs
[1] + Running <job name not known>
or suspending the running command with CTRL-Z
$ sleep 20
[1] + Stopped <job name not known>
fixed by setting HISTFILE and HISTSIZE:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=200334 (ITRC login required)
export HISTFILE=$HOME/.history
export HISTSIZE=2000
$ sleep 20
[1] + Stopped sleep 20
$ sleep 30 &
[1] 19870
$ jobs
[1] + Running <job name not known>
or suspending the running command with CTRL-Z
$ sleep 20
[1] + Stopped <job name not known>
fixed by setting HISTFILE and HISTSIZE:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=200334 (ITRC login required)
export HISTFILE=$HOME/.history
export HISTSIZE=2000
$ sleep 20
[1] + Stopped sleep 20
5.15.2006
tail the mail log in HP-UX
mtail - tails the mail.log file (/var/adm/syslog/mail.log) on HP-UX systems. It may be found on other *nix systems...
Subscribe to:
Posts (Atom)