Re: login.cfg and ODM



our user needs to change the temporary password that we have assigned.

he can do it when /usr/false is assigned to user's shell,
but when we lock the account no one can login, therefore there will be
no password change prompt.

we are looking to have a user like nobody, who can run some
processes but no one can login with that user id.

tried to set "user can login" and "user can login remotely" to false
but it does not let me change the temp password.

My main concern was changing login.cfg manually.
it there any command that will add additional shell to login.cfg.

I read a document that was saying if we change any conf file
that is in ODM, server will have problem in future as the config
in ODM is different to actual conf file.


is that true





Quoting "Hunter, Mark" <Mark.Hunter@xxxxxxxxxxxxxxxxxx>:

You can change it by hand if you need to.

Of course, the question is why you are trying to set it to /usr/bin/false
instead say account_locked=true or something.

Mark Hunter
Anheuser-Busch Cos.
MIS Consultant, ES&SO Server Planning and Integration
*Office: (314) 765-2339
*Email: Mark.Hunter@xxxxxxxxxxxxxxxxxx

The information transmitted (including attachments) is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only for the
person(s) or entity/entities to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the sender and delete
the material from any computer.




-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of Little
Guru
Sent: Tuesday, March 11, 2008 3:27 PM
To: aix-l@xxxxxxxxxxxxx
Subject: login.cfg and ODM

Hello

I can not choose /usr/bin/false for user's shell login because it is not in
/etc/security/login.cfg.
should I add it directly to file or I should use smith or chfs.
and what will be the command if I should do it through command.

I know that it is the best practice to modify almost every thing through smith,
but was wondering if there is any way to find out which file is safe to edit
manually.
I mean how do I know that object is in ODM ?

Thanks
The information transmitted (including attachments) is
covered by the Electronic Communications Privacy Act,
18 U.S.C. 2510-2521, is intended only for the person(s) or
entity/entities to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons
or entities other than the intended recipient(s) is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.





Relevant Pages

  • Why newbies dont RTFM...
    ... Even though I've used Linux before, I've never had to do any ... BASH BUILTIN COMMANDS ... last command exited within ... unless the shell is not exeâ ...
    (comp.os.linux.misc)
  • Re: Great SWT Program
    ... None of the nasty things that you have said or implied about me are at ... treat the file as input (manually invoking the command interpreter ... script, copy the line into that within the editor, exit, and invoke ... the shell script. ...
    (comp.lang.java.programmer)
  • Re: Shell function - accessing an Access secure db (.MDW file)
    ... > Hi - Does anyone know the correct syntax for the shell function. ... You can use the Shell command. ... To execute internal DOS command (Dir, Copy, ... Private Declare Function OpenProcess _ ...
    (microsoft.public.vb.general.discussion)
  • Re: ksh silently ignores function if mistakenly not autoloaded
    ... Here's the order of execution. ... This really takes place prior to command ... Shell scripts, with all their power, have one major drawback - they ... In the Korn Shell, there are two separate syntaxes for defining ...
    (comp.unix.shell)
  • Re: how to make function known to subshell
    ... What do I have to do to make a function available in shell scripts or ... When a command is parsed the first word will be checked against the ... In the Korn Shell, there are two separate syntaxes for defining ...
    (comp.unix.shell)