11-30-2017
Yeah, I wonder why most people do not set the root passwd on their OSX (macOS) machines. I guess most users do not work on the command line when using OSX (macOS)?
One simple fix, I read on the net, was to simply have a root passwd (which I have already, of course) ..... but anyway, I installed the update yesterday on all my Macs.
This User Gave Thanks to Neo For This Post:
7 More Discussions You Might Find Interesting
1. Solaris
Hi all
I had update a server from Solaris 8 to Solaris 10
is it the HBA driver still need to reinstall?
since i can get the driver info as below:
root@sgerpdev # fcinfo hba-port
HBA Port WWN: 21000003ba9b58a3
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
... (1 Reply)
Discussion started by: SmartAntz
1 Replies
2. Solaris
I want to update my solaris 10 server which is currently on update 3 stage.
A new application require it to be on update 6.
What is the best way to make it update 6.
should i just install the patch or should i go for the liveupgrade??
thanks for you help in advance (3 Replies)
Discussion started by: uxravi
3 Replies
3. UNIX for Beginners Questions & Answers
Hello everyone!
I'm developing a MacOs Application in python and I'm having some issues trying to find information related to the power button pressed event. I know that in Ubuntu 14.04 you can find information about it on the acpi folders, but I realized that here in Mac that process is... (0 Replies)
Discussion started by: xedge
0 Replies
4. UNIX for Beginners Questions & Answers
If run the below code today its creating all directory and getting output files,I f run same code tomorrow I am getting error.
can any one give suggestion to sortout this error.
OSError: no such file or directory : '062518'My code looks like this
import paramiko
import sys
import os ... (8 Replies)
Discussion started by: haribabu2229
8 Replies
5. Shell Programming and Scripting
Hello,
I have the following script that just archives and clears some log files.
#!/bin/bash
# script: archive_logs_and_clear
# add date to logfile names and copy archive directory
# clear logs
# change to script directory
cd ... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
6. Shell Programming and Scripting
Hello,
I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using,
#!/bin/bash
# main backup location, trailing slash included
backup_loc="/Volumes/Archive_Volume/00_macos_backup/"
# generic backup function
function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies
7. Shell Programming and Scripting
Hello,
I have a backup script that runs an rsync backup to an external drive. I use the script frequently on Windows and Linux and have installed it on a Mac. The script has an option to run shutdown after the backup has completed. Since backup can take hours to run, this is an option that is... (10 Replies)
Discussion started by: LMHmedchem
10 Replies
LEARN ABOUT LINUX
update-passwd
UPDATE-PASSWD(8) System Manager's Manual UPDATE-PASSWD(8)
NAME
update-passwd - safely update /etc/passwd, /etc/shadow and /etc/group
SYNOPSIS
update-passwd [options]
DESCRIPTION
update-passwd handles updates of /etc/passwd, /etc/shadow and /etc/group on running Debian systems. It compares the current files to mas-
ter copies, distributed in the base-passwd package, and updates all entries in the global system range (that is, 0-99).
OPTIONS
update-passwd follows the usual GNU command line syntax, with long options starting with two dashes ('-').
-p, --passwd-master=FILE
Use FILE as the master copy of the passwd database. The default value is /usr/share/base-passwd/passwd.master.
-g, --group-master=FILE
Use FILE as the master copy of the group database. The default value is /usr/share/base-passwd/group.master.
-P, --passwd=FILE
Use FILE as the system passwd database. The default value is /etc/passwd.
-S, --shadow=FILE
Use FILE as the system shadow database. The default value is /etc/shadow.
-G, --group=FILE
Use FILE as the system group database. The default value is /etc/group.
-s, --sanity-check
Only perform sanity-checks but don't do anything.
-v, --verbose
Give detailed information about what we are doing. A second -v gives additional detail.
-n, --dry-run
Don't do anything but only show what we would do.
-L, --no-locking
Don't attempt to lock the account database. This should only be used for debugging purposes. I repeat: do not do this unless you
are really sure you need this!
-h, --help
Show a summary of how to use update-passwd.
-V, --version
Show the version number
BUGS
At this moment update-passwd does not verify the shadow-file. It should check if the entries in the passwd are also in shadow and vice
versa, and that passwords are not present in both files.
AUTHOR
Wichert Akkerman <wakkerma@debian.org>
This program was written for the Debian project, and is copyright 1999-2002 Wichert Akkerman and copyright 2002, 2003 Colin Watson. It is
distributed under version 2 of the GNU General Public License.
DEBIAN
Debian tools UPDATE-PASSWD(8)