| PLEX86 | ||
|
user login problems in jailkitJohn-Paul Stewart Yes the id command is available on my system...-usr-bin-id this is myetc-bashrc file------ #etc-bashrc # System wide functions and aliases # Environment stuff goes inetc-profile Can't login to Linux Mandrake 6.1 or 6.5 On Fri, 7 Apr 2006 02:56:19 -0400, Peter Chatterton Hope you have 128 meg or... # by default, we want this to get set. # Even for non-interactive, non-login shells. if "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ; then umask 002 else umask 022 fi # are we an interactive shell? if "$PS1" ; then case $TERM in xterm*) if -eetc-sysconfig-bash-prompt-xterm ; then PROMPTCOMMAND=-etc-sysconfig-bash-prompt-xterm else PROMPTCOMMAND='echo -ne fi ;; screen) if -eetc-sysconfig-bash-prompt-screen ; then PROMPTCOMMAND=-etc-sysconfig-bash-prompt-screen else PROMPTCOMMAND='echo -ne fi ;; *) -eetc-sysconfig-bash-prompt-default && PROMPTCOMMAND=-etc-sysconfig-bash-prompt-default ;; esac # Turn on checkwinsize shopt -s checkwinsize if ! shopt -q loginshell ; then # We're not a login shell for i inetc-profile.d-*.sh; do if -r "$i" ; then . $i fi done unset i fi fi # vim:ts=4:sw=4 and this is the jailed user's .bashrc--------- # .bashrc # User specific aliases and functions # Source global definitions if -fetc-bashrc ; then .etc-bashrc fi thanks danish
|
||||
Can't login to Linux Mandrake 6.1 or 6.5 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||