Print this page
NEX-15378 login scripts shouldn't run "quota"
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-15378 login scripts shouldn't run "quota"
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-3202 remove machid commands
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
*** 16,28 ****
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
! # Use is subject to license terms.
! # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
# The profile that all logins get before using their own .profile.
trap "" 2 3
export LOGNAME PATH
--- 16,30 ----
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
+
+ #
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
! # Copyright 2017 Nexenta Systems, Inc.
! #
# The profile that all logins get before using their own .profile.
trap "" 2 3
export LOGNAME PATH
*** 57,67 ****
case "$0" in
-sh | -ksh | -ksh93 | -jsh | -bash | -zsh)
if [ ! -f .hushlogin ]
then
- /usr/sbin/quota
# Allow the user to break the Message-Of-The-Day only.
trap "trap '' 2" 2
/bin/cat -s /etc/motd
trap "" 2
--- 59,68 ----