Click to See Complete Forum and Search --> : Using a script to login as root


MarkLeong
03-17-2002, 03:34 AM
Is the above possible without prompting a user for password?

I need to login as root, do something and then log out.

Example would be helpful.

Whipping Boy
03-17-2002, 03:37 AM
No.

man su

Oratam
03-17-2002, 01:28 PM
Try looking at sudo. I saw a setup where several root funcitons without having to login as root.