NBDST(8) BSD System Manager's Manual NBDST(8)NAME
nbdst -- NetBoot deferred shadow tool
SYNOPSIS
nbdst [-recycle | -preallocate size] devnode shadowfile
DESCRIPTION
nbdst is used during NetBoot to associate a shadow file with the disk image being used as the root device. After the shadow file is attached,
subsequent writes to the root device will be redirected to the shadow file, which normally resides on local storage. nbdst is invoked by
/etc/rc.netboot
ARGUMENTS
The following arguments must be specified:
devnode The device node of the root device, in the form "disk0"
shadowfile Path to a shadow file which will be created and associated with the NetBoot root device
OPTIONS -recycle If a shadow file already exists, reset it and use it again. Otherwise, information written to an existing shadow file will reap-
pear. Reusing a previous shadow file without resetting it requires that the shadow file be created with the same base image.
-preallocate size
Set the shadow file to the given size up front. This forces a reset of the shadow file (like -recycle).
NOTE
nbdst can only be run as root.
SEE ALSO hdiutil(1), hdik(8)Mac OS X 29 Apr 2003 Mac OS X
Check Out this Related Man Page
pwconv(1M) System Administration Commands pwconv(1M)NAME
pwconv - installs and updates /etc/shadow with information from /etc/passwd
SYNOPSIS
pwconv
DESCRIPTION
The pwconv command creates and updates /etc/shadow with information from /etc/passwd.
pwconv relies on a special value of 'x' in the password field of /etc/passwd. This value of 'x' indicates that the password for the user is
already in /etc/shadow and should not be modified.
If the /etc/shadow file does not exist, this command will create /etc/shadow with information from /etc/passwd. The command populates
/etc/shadow with the user's login name, password, and password aging information. If password aging information does not exist in
/etc/passwd for a given user, none will be added to /etc/shadow. However, the last changed information will always be updated.
If the /etc/shadow file does exist, the following tasks will be performed:
Entries that are in the /etc/passwd file and not in the /etc/shadow file will be added to the /etc/shadow file.
Entries that are in the /etc/shadow file and not in the /etc/passwd file will be removed from /etc/shadow.
Password attributes (for example, password and aging information) that exist in an /etc/passwd entry will be moved to the corre-
sponding entry in /etc/shadow.
The pwconv command can only be used by the super-user.
FILES
/etc/opasswd
/etc/oshadow
/etc/passwd
/etc/shadow
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO passwd(1), passmgmt(1M), usermod(1M), passwd(4), attributes(5)DIAGNOSTICS
pwconv exits with one of the following values:
0 SUCCESS.
1 Permission denied.
2 Invalid command syntax.
3 Unexpected failure. Conversion not done.
4 Unexpected failure. Password file(s) missing.
5 Password file(s) busy. Try again later.
6 Bad entry in /etc/shadow file.
SunOS 5.10 9 Mar 1993 pwconv(1M)
Just wanted options of this - first 'real' Perl script and I'm not positive of all the quirks in Perl. Any suggestions are welcome.
Especially since I'm messing with /etc/shadow! Running Solaris 2.6, Perl 5.005.03
#!/u/bin/perl
#
# Change the user's old password to the new in /etc/shadow ... (3 Replies)
OS: Solaris 2.6
File with no name created Mar of 2000 - ls (with or without options) shows the file but no name associated with it.
Example:
ls -ltca
-rw-r--r-- 1 root other 9721 Apr 16 2003 printcap
-rw-r--r-- 1 root other 267 Apr 16 2003
-rw-r--r-- 1 root other 258 Apr 16... (3 Replies)
Hi guys,
I have a doubt on shadow file ... In the Unix servers in which I am working, I cud see that the shadow file has only one permission set .. tht is read permission for only root user ... (-r--------) ....
So my basic doubt here is that how this file is being written then ... only... (4 Replies)
Hi
I need to compare shadow file sizes with their real file counterparts. If the shadow file size differs form the realfile size then it must send a mail. My problem is that our system has over 1600 shadowfiles in different directories, with different names. the only consistancy is the .sh file... (4 Replies)
i've been given an assignment to Write a system utility called recycle that satisfies the following requirements as they might be displayed in a UNIX/Linux man page:
NAME
recycle - stores files in a recycle bin
SYNOPSIS
recycle ...
DESCRIPTION
Recycle is a replacement for the... (3 Replies)
Hi,
I am new to HP-UX environment. Could someone help me giving commands to recycle the server and how to go to single user mode.
Thanks
Hemanth (3 Replies)
Hello, I'm only taking Intro to UNIX in school right now, so please bear with me. My problem is with a sort-of recycle-bin rig I've created for fun. I'm using Ubuntu 9.04, I am the admin. (only user, actually) of this computer. I'm using this script in ~/.bashrc
# if files exist, remove contents... (6 Replies)
I only have two disk in my HP machine
but when i execute iostat command
device bps sps msps
c0t0d1 0 0.0 1.0
disk0 49 2.8 1.0
disk5 0 0.0 1.0
I didn't know where device name disk0 and disk5
device name disk0 disk5 ,it is really disk
or... (3 Replies)
Hi~ I have a problem with my recycle bin code.
#!/bin/bash
if test !-d ~/.recyclebin #if recycle bin does not exists
then
mkdir ~/.recyclebin # then create recycle bin
else
mv $1 ~/.recyclebin #else move the deleted file in the recycle bin
fi
so when I... (10 Replies)
what does the last column in /etc/shadow file indicate??
i read man page,it tells its FLAG..but i am not able to understand exactly why its there :confused:
thanks in advance,
shekhar (4 Replies)
Hi all,
What I have already done:
1. Same user created on both system and passwordless ssh form system a to system b through that user
I need to write a small script to copy /etc/shadow file of sytem a to system b,
script needs to be executed on system b.
But as /etc/shadow file is owned... (5 Replies)
Hi,
I wanna see the content of the file /etc/shadow..
But i don't have the permission and also the root permission. Still is it possible to view it??? Any tricks?? (5 Replies)