This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change user with the su command

Probably could use runas to start your bash shell as well...


On Wed, 7 Mar 2001 12:27:48 +0100, Corinna Vinschen wrote:

>On Wed, Mar 07, 2001 at 12:06:05PM +0100, Fabio Di Fabio wrote:
>> Hi,
>> after 5 years of Linux, now I'm installing open sorce tools to W2000 for 
>> web development, in particular the last tool I've installed is the 
>> PostgreSQL database, now it's running, I've some problem in understand the 
>> user management under cygwin, I work usually as administrator, which is 
>> like the root and unix, but for example I've created an user in w2000 
>> called postgres which manage the database, but now I don't know how to 
>> switch from administrator to postgres user without relogin in w2000, I've 
>> seen that the su command is here but it doesn't work like the linux su, 
>> because if from the administrator shell I excute "su postgres" I got this 
>> output:
>> 	su: cannot set user id: Not owner
>> I've search for documentation and in the archive of the mailing lists but I 
>> can't find something usefull, any help?
>To be able to switch user context on the command line your login
>needs special user rights. Read /usr/doc/Cygwin/inetutils-1.3.2.README
>which contains some details. Additionally don't use `su' but `login'
>to switch the user because it's really ported while su isn't.
>To understand the interaction of NT and Cygwin security using the
>`ntsec' option I suggest reading the online documentation
>, especially the `ntsec' documentation
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                      
>Red Hat, Inc.

Want to unsubscribe from this list?
Check out:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]