09-16-2010
ok the point is NIS or LDAP will take some time....
If I'd choose scp only /etd/passwd and /etc/shadow would be the files to sync?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What's the idea of Unsyncron SUN WS's ? one of our client had a problem & my supervisor told me that this causes of unsynchron WS's i mean maybe the setting of one is not compatible with other .....
Any Suggestion would be helpful
Rgrds,
nikk (1 Reply)
Discussion started by: nikk
1 Replies
2. UNIX for Advanced & Expert Users
i stumbled upon something that gave some nice instructions on how to convert FreeBSD passwords from md5 to blowfish. it was simple and straight forward and it worked.
i'm running samba on the machine.
now i know the tutorial i was following had something where a user's samba and machine... (1 Reply)
Discussion started by: xyyz
1 Replies
3. Solaris
hi all ,
i have a E4900 server cluster that consists of 2 Servers (Cluster1 and cluster2 )
all of my crons are located under /var/spool/cron/crontabs .
I am trying to put them on a shared place , so thati dont have to edit both crons on every system .
thank you
cheers (3 Replies)
Discussion started by: ppass
3 Replies
4. Solaris
Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas?
... (0 Replies)
Discussion started by: psantinello
0 Replies
5. Solaris
Hi Gurus
I ave a Prod,standby and DR server(All Sol 5.9) and i need to sync the Application running in prod,standby and DR. The Application vests in a filesystem(a directory) and syncing the directory would server my purpose.
I came across rsync utility and am planning to implement it. But... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
6. Shell Programming and Scripting
Hi all,
I am trying to create a simple password script but it seems not working well.
What I'm trying to do is to sync the yppasswd and smbpasswd. So I created this:
#!/bin/csh
echo ""
echo "Please enter old password: "
set OLDPASSWD = $<
echo "Please enter new password: "
set NEWPASSWD... (2 Replies)
Discussion started by: saiful
2 Replies
7. UNIX for Dummies Questions & Answers
Folks;
I have 2 SUSE DNS servers, one will be the master and one will be the slave. we normally update the master when adding any new servers to the DNS list.
I'm looking for a way to sync both servers every night, so the slave is updated nightly.
I thought of using "rsync" with cron to sync... (1 Reply)
Discussion started by: Katkota
1 Replies
8. AIX
Hi
Please look in to the below issue and advise how to fix the issue. I tried syncvg but it gives me an error. Recently we have upgraded the service pack in this lpar.
==========================================================
pmut8# lsvg -l rootvg | grep -i stale
paging00 ... (3 Replies)
Discussion started by: newtoaixos
3 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
chfn(1) General Commands Manual chfn(1)
NAME
chfn - change finger information
SYNOPSIS
chfn [-D binddn] [-P path] [-f name] [-o office] [-p phone] [-h home_phone] [-m other] [-r service] [-q] [-u] [-v] [user]
DESCRIPTION
chfn is used to change the user finger information. This are the users fullname, office room number, office phone number and home phone
number. This information is stored in the /etc/passwd file and typically printed by finger(1) and similiar programs. A normal user may only
change the fields for their own account, the super user may change the fields for any account. Also, only the super user may use the -o
option to change the undefined portions of the GECOS field.
If no information is given on the command line, chfn operates in an interactive fashion, prompting the user for each field. Enter the new
value to change the field, or leave the line blank to use the current value. Enter none or a blank only to remove the current value. The
current value is displayed between a pair of [ ] marks.
The only restrictions placed on the contents of the fields is that no control characters may be present, nor any of comma, colon, or equal
sign. The other field does not have this restriction, and is used to store accounting information used by other applications.
This version of chfn is able to change the shell of local, NIS, NIS+ and LDAP accounts, if the permissions allow it.
OPTIONS
-D, --binddn binddn
Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica-
tion.
-P, --path path
The passwd and shadow files are located below the specified directory path. chfn will use this files, not /etc/passwd and
/etc/shadow. This is useful for example on NIS master servers, where you do not want to give all users in the NIS database auto-
matic access to your NIS server and the NIS map is build from special files.
-f, --full-name
Specify your real name.
-o, --office
Specify your office room number.
-p, --phone
Specify your office phone number.
-h, --home-phone
Specify your home phone number.
-m, --other
Specify the undefined portions of the GECOS field.
-r, --service
Specify the service where the GECOS field should be changed. Supported services are files, ldap, nis and nisplus.
-q, --quite
Don't be verbose.
-u, --usage
Print a usage message and exit.
--help
Print a more verbose help text and exit.
-v, --version
Print version information and exit.
ENVIRONMENT
SHADOW_CHFN - If this environment variable is set to 1, the chfn options are compatible to the version from the shadow suite.
FILES
/etc/passwd - user account information
SEE ALSO
chsh(1), finger(1), passwd(5)
AUTHOR
Thorsten Kukuk <kukuk@suse.de>
pwdutils February 2004 chfn(1)