Xref: utzoo unix-pc.general:123 comp.sys.att:1961 comp.unix.questions:4928 comp.unix.wizards:5934 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!rutgers!mtune!icus!lenny From: lenny@icus.UUCP (Lenny Tropiano) Newsgroups: unix-pc.general,comp.sys.att,comp.unix.questions,comp.unix.wizards Subject: Non-standard shell and su. Message-ID: <200@icus.UUCP> Date: 3 Jan 88 06:12:26 GMT Organization: ICUS Computer Group, Islip, NY Lines: 26 Keywords: su, root, security, /bin/ksh What is the problem giving root (or any login for that matter) /bin/ksh for the default login shell and then using the "su -c " to execute a command? I keep getting: $ su root -c "rm xx" Password: Non-standard shell - denied Does the "-c" option only work with the Bourne shell (/bin/sh)? I would like root to have /bin/ksh. I have to cludge it up with leaving the default shell blank in /etc/passwd and then in the .profile put a: exec /bin/ksh This is annoying. -Lenny -- ============================ US MAIL: Lenny Tropiano, ICUS Computer Group IIIII CCC U U SSSS PO Box 1 I C C U U S Islip Terrace, New York 11752 I C U U SSS PHONE: (516) 968-8576 [H] (516) 582-5525 [W] I C C U U S AT&T MAIL: ...attmail!icus!lenny TELEX: 154232428 IIIII CCC UUU SSSS UUCP: ============================ ...{uunet!godfre, harvard!talcott}!\ ...{ihnp4, boulder, mtune, bc-cis, ptsfa, sbcs}! >icus!lenny "Usenet the final frontier" ...{cmcl2!phri, hoptoad}!dasys1!/