nan0meter
|
2010-11-03
, 22:42
|
Posts: 2 |
Thanked: 0 times |
Joined on Nov 2010
|
#21
|
|
2010-11-30
, 06:36
|
Posts: 152 |
Thanked: 58 times |
Joined on Oct 2010
@ void
|
#22
|
The Following User Says Thank You to 009N For This Useful Post: | ||
|
2010-12-01
, 10:19
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#23
|
export LS_OPTIONS='--color=auto' eval "`dircolors`" alias ls='gls $LS_OPTIONS' alias ll='gls $LS_OPTIONS -l' alias l='gls $LS_OPTIONS -la'
The Following User Says Thank You to Tigerite For This Useful Post: | ||
|
2010-12-01
, 11:22
|
|
Posts: 218 |
Thanked: 59 times |
Joined on Feb 2010
@ spain
|
#24
|
...
Finally, I needed to add /sbin and /usr/sbin to the PATH in /etc/profile too as they are not there by default, but are in rootsh - talking of which, /usr/sbin/gainroot has to be changed for "sudo gainroot" to work, so that it uses /bin/bash and also .bash_history rather than .ash_history. It's a one-line change and really straightforward but I can post it if anyone is stuck.
|
2010-12-01
, 11:37
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#25
|
else echo 'Root shell enabled' HISTFILE=/root/.ash_history /bin/sh fi
else echo 'Root shell enabled' HISTFILE=/root/.bash_history /bin/bash fi
|
2010-12-01
, 12:34
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#26
|
|
2010-12-02
, 05:52
|
Posts: 152 |
Thanked: 58 times |
Joined on Oct 2010
@ void
|
#27
|
|
2010-12-02
, 08:46
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#28
|