UUCP setup on RS/6000 ?

Steve DeJarnett steve at qe2.awdpa.ibm.com
Fri Nov 2 07:02:39 AEST 1990


In article <875 at ki.UUCP> dwatts at ki.UUCP (Dan Watts) writes:
>I ran into a slight problem getting a UUCP account configured on my
>RS/6000 and was wondering if anyone else has had similar problems.
>The first problem I ran into, was that smit wouldn't let me designate
>/usr/lib/uucp/uucico as the initial program.  Smit would give me an
>error that the choice was invalid.  I ended up having to select /bin/ksh,
>exit smit, and then edit /etc/passwd and change the /bin/ksh to what
>I wanted.  Renetering smit showed that the change was affective.

	Edit the file /etc/security/login.cfg and look near the bottom of
the file.  There is a "usw" stanza that specifies the shells that are allowable
for user's login shells (along the lines of the /etc/shells file in BSD (and
probably SysV as well)).  Add /usr/lib/uucp/uucico to that line and SMIT should
be happy about letting you add a user with uucico as their shell.

>The next problem I found was that when a uucp account logs in, I get
>/etc/motd displayed on the screen!  Is there anyway to disable this
>(other than renaming motd which is what I've done for the time being)?

	Create a file called .hushlogin in the user's home directory.  It 
doesn't matter what (if anything) is in it.  It's usually just a file that 
was "touched" (i.e. 0-length).

>On a related note, is there a way to create a new user with a group
>other than the default?  When I create a user and then change the group
>id to what I want, I then have to manually fix the home directory that
>smit created and all the files in it to have the correct group id.

	In the SMIT "Create User" screen, specify the primary group name.
Thus, if you wanted to add a user whose primary group was "sysadmin", you would
specify "sysadmin" as the user's primary group.  After doing this, everything
seemed to be owned by the correct user and have the correct group.  Are you
seeing something different?? (I am running on a system that's at a level 
beyond GOLD, so this may be a bug that has since been fixed).

># CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts    Dan Watts         #

	Hope that helps.

Steve DeJarnett			Internet: steve at ibminet.awdpa.ibm.com
IBM AWD Palo Alto		UUCP:	  uunet!ibminet.awdpa.ibm.com!steve
(415) 855-3510			IBM VNET: dejarnet at ausvmq
These opinions are my own.  I doubt IBM wants them.......



More information about the Comp.unix.aix mailing list