Re: Shell confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 12 March 2009 21:25:27 Dave Bolt IT Solutions wrote:
> When I start a terminal as dave I get a prompt [dave@Test-Host ~]$
> When I do su amandabackup I get a prompt bash-3.2$
            ^^^^^^^^^^^^^^^

Check the manual page for su(1).

If you had entered `su - amandabackup', that user's login scripts 
would have been run.

In general, using su without its `-' parameter is a bad idea[*] 
especially when switching to the root login.

______________
[*] Unless, of course, you know why you want to do that.

-- 
Garry T. Williams --- +1 678 656-4579

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux