On Fri, Apr 05, 2002 at 10:02:06AM +0530, sudeesh was caught saying: > Hi all, > i want to know about switch -u with command su (second user) > i'm having Linux 6.1 on my machine at home > and the command su -u login_name does not work > but on sun solaris at my office works well. > > can any one tell me about -u switch in as detail as possible
On linux use either "su user" or "su - user" . In the second case, you get a shell as if you logged in afresh as the user i.e. all the personal environment of user would be in effect. In the first case, the environment won't be affected, you would only get the priviledges of user. - Sandip -- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net --------------------------- Got some news from/for the Free(tm) world in India? Get to be a journo at http://opennews.indianissues.org ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================